fix so that profiling doesn't throw an error
[IRC.git] / Robust / src / Runtime / workschedule.c
index 42821d65746f1745ae45c3ee54bffb845800d726..a99c003223a711951a0706f5e8204123faad60c4 100644 (file)
@@ -373,9 +373,6 @@ void workScheduleBegin() {
     pthread_join( workerDataArray[i].workerThread, NULL );
   }
 
-  // for the original, non-worker thread to close up its events
-  CP_EXIT();
-
   // write all thread's events to disk
   CP_DUMP();
 }