Ignore:
Timestamp:
2/8/2010 8:25:51 AM (2 years ago)
Author:
lowjoel
Message:

Allow all IDisposable patterns to be reentrant. Addresses #275: Code Review

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eraser6/CodeReview/Eraser.Manager/Plugins.cs

    r1681 r1772  
    160160        protected override void Dispose(bool disposing) 
    161161        { 
     162            if (plugins == null) 
     163                return; 
     164 
    162165            if (disposing) 
    163166            { 
     
    168171                        plugin.Plugin.Dispose(); 
    169172            } 
     173 
     174            plugins = null; 
    170175        } 
    171176 
Note: See TracChangeset for help on using the changeset viewer.