Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 2865

Show
Ignore:
Timestamp:
11/12/07 15:21:03 (1 year ago)
Author:
sean
Message:

I've re-enabled the call to gc.Dtor() in gc_term(). This could result in a crash on exit if daemon threads are running. However, it seems to be what people want so we'll see how it goes. closes #669

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/gc/basic/gc.d

    r2648 r2865  
    6767    //       I'm disabling cleanup for now until I can think about it some 
    6868    //       more. 
    69     //_gc.fullCollectNoStack(); // not really a 'collect all' -- still scans 
    70                                 // static data area, roots, and ranges. 
    71     //_gc.Dtor(); 
     69    // 
     70    // NOTE: Due to popular demand, this has been re-enabled.  It still has 
     71    //       the problems mentioned above though, so I guess we'll see. 
     72    _gc.fullCollectNoStack(); // not really a 'collect all' -- still scans 
     73                              // static data area, roots, and ranges. 
     74    _gc.Dtor(); 
    7275} 
    7376