Browse Source

don't call timeEndPeriod twice

2upstream
KlausT 10 years ago committed by Tanguy Pruvot
parent
commit
bb71232f18
  1. 4
      ccminer.cpp

4
ccminer.cpp

@ -2454,10 +2454,6 @@ int main(int argc, char *argv[]) @@ -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);

Loading…
Cancel
Save