1
0
Fork 0

Use SGTimeStamp::sleepForMSec(55) to replace sleep/Sleep

This commit is contained in:
Geoff McLane 2018-05-30 11:59:25 +02:00
parent dcec806337
commit 5d19a88446

View file

@ -377,11 +377,7 @@ public:
virtual ~CanvasImageRequest() {
if (currenttask){
SG_LOG(SG_NETWORK, SG_INFO, "canvasimage task running");
#ifdef _WIN32
Sleep(15000);
#else
sleep(15);
#endif
SGTimeStamp::sleepForMSec(55); /* avoid <windows.h>, for Sleep... */
}
if (canvas && connected){