2014-01-02 18:41 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* src/vm/hvm.c
    * clear STATIC variables before releasing thread specific data.
      It should resolve potential problems with code using TSD to activate
      cleanup procedure and later cannot correctly execute pointer item
      destructors, i.e. OLE subsystem.
This commit is contained in:
Przemysław Czerpak
2014-01-02 18:41:15 +01:00
parent a5a9141109
commit 0a956d32f9
2 changed files with 10 additions and 3 deletions

View File

@@ -10,6 +10,13 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2014-01-02 18:41 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/vm/hvm.c
* clear STATIC variables before releasing thread specific data.
It should resolve potential problems with code using TSD to activate
cleanup procedure and later cannot correctly execute pointer item
destructors, i.e. OLE subsystem.
2014-01-02 13:11 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/itemseri.c
! fixed casting for C++ builds

View File

@@ -1158,14 +1158,14 @@ int hb_vmQuit( void )
hb_vmDebuggerExit( HB_TRUE );
#endif
/* release thread specific data */
hb_stackDestroyTSD();
/* stop executing PCODE (HVM reenter request) */
s_fHVMActive = HB_FALSE;
hb_vmStaticsClear();
/* release thread specific data */
hb_stackDestroyTSD();
hb_errExit();
hb_clsReleaseAll();