Example #1
0
 public void Dispose()
 {
     MyIObjectPool.Return(impl);
     // Prevent continuing use, as the implementation object instance
     // could now be given out.
     impl = null;
 }
 public void Dispose()
 {
     MyIObjectPool.Return(impl);
 }