diff --git a/src/Network/http/ScreenshotUriHandler.cxx b/src/Network/http/ScreenshotUriHandler.cxx index f2e6c24ed..d0db20e0a 100644 --- a/src/Network/http/ScreenshotUriHandler.cxx +++ b/src/Network/http/ScreenshotUriHandler.cxx @@ -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 , for Sleep... */ } if (canvas && connected){