- Timestamp:
- 11/24/06 22:05:28 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2.x/Jav_CO/com/scenari/m/co/univers/WUniversHandle.java
r7426 r7513 377 377 */ 378 378 synchronized void wUnloadUnivers() throws Exception { 379 379 if(fUnivers != null) { 380 //Time stamp du nouvel état 381 fTimeStamp = System.currentTimeMillis(); 382 383 //On fixe le nouvel état 384 fEtat = ETAT_UNLOADING; 385 386 //On attend que les derniers traitements s'achèvent. 387 Thread.sleep(sTimeToUpdate); 388 389 //On prévient du unload 390 fUnivers.wUnload(); 391 392 //On désactive l'univers 393 fUnivers = null; 394 } 395 380 396 //Time stamp du nouvel état 381 397 fTimeStamp = System.currentTimeMillis(); 382 383 //On fixe le nouvel état384 fEtat = ETAT_UNLOADING;385 386 //On attend que les derniers traitements s'achèvent.387 Thread.sleep(sTimeToUpdate);388 389 //On prévient du unload390 fUnivers.wUnload();391 392 //On désactive l'univers393 fUnivers = null;394 395 //Time stamp du nouvel état396 fTimeStamp = System.currentTimeMillis();397 398 398 //On fixe le nouvel état 399 399 fEtat = ETAT_UNLOADED;
Note: See TracChangeset
for help on using the changeset viewer.