Changeset 312
- Timestamp:
- 12/07/11 09:21:48 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Puzzlebox/Synapse/Server.py
r307 r312 9 9 10 10 __changelog__ = """\ 11 Last Update: 2011.12.0 411 Last Update: 2011.12.06 12 12 """ 13 13 … … 670 670 print e 671 671 672 if self.protocol != None: 673 self.protocol.exitThread() 674 672 675 if self.serial_device != None: 673 676 self.serial_device.exitThread() 674 677 678 #if self.protocol != None: 679 #self.protocol.exitThread() 680 681 self.socket.close() 682 683 if callThreadQuit: 684 QtCore.QThread.quit(self) 685 686 if self.parent == None: 687 sys.exit() 688 689 690 ################################################################## 691 692 def resetDevice(self): 693 694 if self.serial_device != None: 695 self.serial_device.exitThread() 696 675 697 if self.protocol != None: 676 698 self.protocol.exitThread() 677 699 678 self.socket.close()679 680 if callThreadQuit:681 QtCore.QThread.quit(self)682 683 if self.parent == None:684 sys.exit()685 686 687 ##################################################################688 689 def resetDevice(self):690 691 if self.serial_device != None:692 self.serial_device.exitThread()693 694 if self.protocol != None:695 self.protocol.exitThread()696 697 700 self.configureEEG() 698 701
Note: See TracChangeset
for help on using the changeset viewer.