2014-01-04 18:22 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/vm/hvm.c
! release TSD handle in thread static destructors.
It should fix problem reported by Lorenzo.
This commit is contained in:
@@ -6482,9 +6482,7 @@ static void hb_vmTSVRefClear( void * value )
|
||||
if( HB_IS_COMPLEX( &( ( PHB_TSVREF ) value )->source ) )
|
||||
hb_itemClear( &( ( PHB_TSVREF ) value )->source );
|
||||
|
||||
pItem = ( PHB_ITEM ) hb_stackTestTSD( &( ( PHB_TSVREF ) value )->threadData );
|
||||
if( pItem && HB_IS_COMPLEX( pItem ) )
|
||||
hb_itemClear( pItem );
|
||||
hb_stackReleaseTSD( &( ( PHB_TSVREF ) value )->threadData );
|
||||
|
||||
hb_xfree( value );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user