Remove dirty hack that sets EndTime from monitor. It can get set in event destructor

This commit is contained in:
Isaac Connor 2020-11-01 17:15:42 -05:00
parent 80e54aee66
commit 296f6af7fb
1 changed files with 0 additions and 4 deletions

View File

@ -2654,10 +2654,6 @@ bool Monitor::closeEvent() {
if ( !event )
return false;
if ( function == RECORD || function == MOCORD ) {
//FIXME Is this neccessary? ENdTime should be set in the destructor
gettimeofday(&(event->EndTime()), nullptr);
}
if ( event_delete_thread ) {
event_delete_thread->join();
delete event_delete_thread;