testChannelAccess/testServer: more stable shutdown

This commit is contained in:
Matej Sekoranja
2014-04-10 11:23:31 +02:00
parent f3f54fd6cf
commit 29c5fb1804
3 changed files with 13 additions and 7 deletions

View File

@@ -77,8 +77,9 @@ class ChannelAccessIFRemoteTest: public ChannelAccessIFTest {
~ChannelAccessIFRemoteTest() {
m_serverContextAction.stop();
ClientFactory::stop();
structureChangedListeners.clear();
structureStore.clear();
// shutdown SIGSEG problems
epicsThreadSleep(2.0);
}
private: