Show
Ignore:
Timestamp:
11/06/11 03:36:56 (7 months ago)
Author:
aldacron
Message:

It is now possible to disable automatic unloading of shared libraries.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Derelict2/DerelictAL/derelict/openal/al.d

    r479 r591  
    166166static this() 
    167167{ 
    168     DerelictAL = new DerelictALLoader(); 
     168   DerelictAL = new DerelictALLoader(); 
    169169} 
    170170 
    171171static ~this() 
    172172{ 
    173     DerelictAL.unload(); 
     173    if(SharedLibLoader.isAutoUnloadEnabled()) 
     174        DerelictAL.unload(); 
    174175}