https://d.puremagic.com/issues/show_bug.cgi?id=11781

           Summary: gc collections run even when disabled
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: nob...@puremagic.com
        ReportedBy: bugzi...@digitalmars.com


--- Comment #0 from Walter Bright <bugzi...@digitalmars.com> 2013-12-19 
13:40:29 PST ---
The following program:
---------------------------
import std.stdio;
import core.memory;

void main()
{
    GC.disable();
}
-----------------------
when run prints:

disable()
enable()
disable()
fullcollect()

where gc/gc.d has printf's put in disable(), enable(), and fullcollect().

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to