should set the private variable id to nill when deleteing it

This commit is contained in:
Jeff Hill
2004-09-02 16:26:04 +00:00
parent bd93889676
commit d7cf7531b2

View File

@@ -44,6 +44,7 @@ static epicsThreadOnceId cacOnce = EPICS_THREAD_ONCE_INIT;
extern "C" void cacExitHandler (void *)
{
epicsThreadPrivateDelete ( caClientCallbackThreadId );
caClientCallbackThreadId = 0;
}
// runs once only for each process