From d7269f9d80b7efa82443cd3aeb102c312e9075b3 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Tue, 18 Nov 2014 14:56:45 -0500 Subject: [PATCH] Revert "dbBkpt: atexit" --- src/ioc/db/dbBkpt.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/ioc/db/dbBkpt.c b/src/ioc/db/dbBkpt.c index bf890a8b6..4059dd2d3 100644 --- a/src/ioc/db/dbBkpt.c +++ b/src/ioc/db/dbBkpt.c @@ -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); } }