protected synchronized void disposeExecutingSynchronizer() {
   if (executingSynchronizer != null) {
     executingSynchronizer.dispose();
     executingSynchronizer = null;
   }
 }
Example #2
0
 public void dispose() {
   if (resource != null) {
     resource.dispose();
     resource = null;
   }
 }