2000-11-23 11:11 UTC+0800 Ron Pinkas <ron@profit-master.com>
* source/rtl/idle.c
! Added Reset Logic to HB_IDLESTATE()
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2000-11-23 11:11 UTC+0800 Ron Pinkas <ron@profit-master.com>
|
||||
* source/rtl/idle.c
|
||||
! Added Reset Logic to HB_IDLESTATE()
|
||||
|
||||
2000-11-23 19:50 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
|
||||
|
||||
*source/rdd/dbfcdx/dbfcdx1.h
|
||||
|
||||
@@ -168,6 +168,12 @@ void hb_idleShutDown( void )
|
||||
HB_FUNC( HB_IDLESTATE )
|
||||
{
|
||||
hb_idleState();
|
||||
|
||||
if( hb_vm_uiIdleTask == hb_vm_uiIdleMaxTask )
|
||||
{
|
||||
hb_vm_uiIdleTask = 0;
|
||||
hb_vm_bCollectGarbage = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
/* add a new background task and return its handle */
|
||||
|
||||
Reference in New Issue
Block a user