mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
Memory work.
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@9261 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
@ -246,7 +246,7 @@ public abstract class ChatRoom extends BackgroundPanel implements ActionListener
|
||||
// Add Key Listener to Send Field
|
||||
chatEditorKeyListener = new KeyAdapter() {
|
||||
public void keyPressed(KeyEvent e) {
|
||||
checkForEnter(e);
|
||||
checkForEnter(e);
|
||||
}
|
||||
};
|
||||
|
||||
@ -605,6 +605,7 @@ public abstract class ChatRoom extends BackgroundPanel implements ActionListener
|
||||
getTranscriptWindow().removeMouseListener(transcriptWindowMouseListener);
|
||||
getChatInputEditor().removeKeyListener(chatEditorKeyListener);
|
||||
|
||||
textScroller.getViewport().remove(transcriptWindow);
|
||||
|
||||
// Remove Connection Listener
|
||||
SparkManager.getConnection().removeConnectionListener(this);
|
||||
|
||||
Reference in New Issue
Block a user