Use SGTimeStamp::sleepForMSec(55) to replace sleep/Sleep
This commit is contained in:
parent
dcec806337
commit
5d19a88446
1 changed files with 1 additions and 5 deletions
|
@ -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){
|
||||
|
|
Loading…
Add table
Reference in a new issue