don't call timeEndPeriod twice
This commit is contained in:
parent
00803b0b8d
commit
bb71232f18
@ -2454,10 +2454,6 @@ int main(int argc, char *argv[])
|
|||||||
/* main loop - simply wait for workio thread to exit */
|
/* main loop - simply wait for workio thread to exit */
|
||||||
pthread_join(thr_info[work_thr_id].pth, NULL);
|
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.");
|
applog(LOG_INFO, "workio thread dead, exiting.");
|
||||||
|
|
||||||
proper_exit(0);
|
proper_exit(0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user