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

Changeset 5299

Show
Ignore:
Timestamp:
01/16/10 14:10:12 (2 years ago)
Author:
kris
Message:

made some changes recommended by Tom :: http://dsource.org/projects/tango/ticket/1038#comment:13

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/core/WeakRef.d

    r5298 r5299  
    4343        this (T obj)  
    4444        { 
    45                 set (obj); 
     45                weakpointer = GC.weakPointerCreate (obj); 
    4646        } 
    4747 
  • trunk/tango/core/rt/gc/basic/gcx.d

    r5298 r5299  
    13841384           if (!wp) 
    13851385               onOutOfMemoryError(); 
    1386            *wp = WeakPointer.init; 
    13871386           wp.reference = r; 
    13881387           rt_attachDisposeEvent(r, &wp.ondestroy);