don't call timeEndPeriod twice

This commit is contained in:
KlausT 2015-02-08 22:08:04 +01:00 committed by Tanguy Pruvot
parent 00803b0b8d
commit bb71232f18

View File

@ -2454,10 +2454,6 @@ int main(int argc, char *argv[])
/* main loop - simply wait for workio thread to exit */
pthread_join(thr_info[work_thr_id].pth, NULL);
#ifdef WIN32
timeEndPeriod(1); // be nice and forego high timer precision
#endif
applog(LOG_INFO, "workio thread dead, exiting.");
proper_exit(0);