Browse Source

on session close stop the event debouncer

Chris Bannister 10 years ago
parent
commit
d5db650bf1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      session.go

+ 2 - 0
session.go

@@ -225,6 +225,8 @@ func (s *Session) Close() {
 	if s.control != nil {
 		s.control.close()
 	}
+
+	s.nodeEvents.stop()
 }
 
 func (s *Session) Closed() bool {