This commit is contained in:
Michael Davidsaver
2015-12-08 16:07:38 -05:00
parent 9fe595722c
commit b0f855337f
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,6 @@
#include <iocsh.h>
#include <epicsExit.h>
#include <libComRegister.h>
#define epicsExportSharedSymbols
@ -15,5 +16,6 @@ int main(int argc, char *argv[])
int ret = iocsh(NULL);
gwServerShutdown();
gwClientShutdown();
epicsExit(ret);
return ret;
}

View File

@ -172,8 +172,10 @@ MonitorUser::~MonitorUser()
void
MonitorUser::destroy()
{
Guard G(entry->chan->cache->cacheLock);
running = false;
{
Guard G(entry->chan->cache->cacheLock);
running = false;
}
req.reset();
}