View Issue Details

IDProjectCategoryView StatusLast Update
0004193JEDI VCL00 JVCL Componentspublic2007-08-06 04:09
ReporterhardnutAssigned Toobones 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.32 
Target VersionFixed in Version3.34 
Summary0004193: Bug at JvMTData.pas's finalization section
Description00)finalization
01) FreeAndNil(GlobalDataThreadsMan);
02) {$IFDEF MSWINDOWS}
03) // (rom) no OutputDebugString in production code
04) {$IFDEF DEBUGINFO_ON}
05) if DataThreadsMan.ActiveThreads then
06) OutputDebugString(
07) 'Memory leak detected: free MTData objects before application shutdown'); //do not localize
08){$ENDIF DEBUGINFO_ON}
09) {$ENDIF MSWINDOWS}
10) {$IFDEF USEJVCL}
11) {$IFDEF UNITVERSIONING}
12) UnregisterUnitVersion(HInstance);
13) {$ENDIF UNITVERSIONING}
14) {$ENDIF USEJVCL}
  

the line 01 free the GlobalDataThreadsMan -- this is OK
but the line 05,Call the DataThreadsMan,will cause the GlobalDataThreadsMan be created again!
It's a Joy!
TagsNo tags attached.

Activities

obones

2007-08-06 04:09

administrator   ~0013612

Thanks, this is now in SVN

Issue History

Date Modified Username Field Change
2007-08-04 22:26 hardnut New Issue
2007-08-06 04:09 obones Status new => resolved
2007-08-06 04:09 obones Fixed in Version => Daily / SVN
2007-08-06 04:09 obones Resolution open => fixed
2007-08-06 04:09 obones Assigned To => obones
2007-08-06 04:09 obones Note Added: 0013612