Commits

Anonymous committed ef1fb34

Added some documentation and fixed memory leak.

  • Participants
  • Parent commits c89887d

Comments (0)

Files changed (1)

src/org/lispdev/repl/AbstractRepl.java

 
   private final SwankDisplayRunnable displayRunnable =
     new SwankDisplayRunnable(this);
-  private final ReadRunnable readRunnable = new ReadRunnable(this);
+  private final ReadRunnable readRunnable =
+    new ReadRunnable(this);
   private final DisconnectRunnable disconnectRunnable =
     new DisconnectRunnable(this);
   private final DebugInfoRunnable debugInfoRunnable =
     }
   }
 
+  public void dispose()
+  {
+    swank.removeListener(debugInfoRunnable);
+    swank.removeListener(debugRunnable);
+    swank.removeListener(disconnectRunnable);
+    swank.removeListener(displayRunnable);
+    swank.removeListener(readRunnable);
+  }
+
 }