Revert "dbBkpt: atexit"
This commit is contained in:
@@ -48,7 +48,6 @@
|
||||
#include "dbDefs.h"
|
||||
#include "ellLib.h"
|
||||
#include "epicsEvent.h"
|
||||
#include "epicsExit.h"
|
||||
#include "epicsMutex.h"
|
||||
#include "epicsThread.h"
|
||||
#include "epicsTime.h"
|
||||
@@ -252,11 +251,6 @@ static long FIND_CONT_NODE(
|
||||
return(0);
|
||||
}
|
||||
|
||||
static void dbBkptExit(void *junk) {
|
||||
epicsMutexDestroy(bkpt_stack_sem);
|
||||
bkpt_stack_sem = NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
* Initialise the breakpoint stack
|
||||
*/
|
||||
@@ -265,7 +259,6 @@ void dbBkptInit(void)
|
||||
if (! bkpt_stack_sem) {
|
||||
bkpt_stack_sem = epicsMutexMustCreate();
|
||||
lset_stack_count = 0;
|
||||
epicsAtExit(dbBkptExit, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user