original_docstring: Disconnects this simspark monitor from the simspark instance.
docstring: Disconnects this simspark monitor from the simspark instance.
docstring_tokens: Disconnects this simspark monitor from the simspark instance .
code: def disconnect(self):
          """Disconnects this simspark monitor from the simspark instance."""
          if self.socket:
              self.socket.close()
              self.socket = None
              self.connected.clear()
code_tokens: def disconnect ( self ) : if self . socket : self . socket . close ( ) self . socket = None self . connected . clear ( )
short_docstring: Disconnects this simspark monitor from the simspark instance.
short_docstring_tokens: Disconnects this simspark monitor from the simspark instance .
comment: """Disconnects this simspark monitor from the simspark instance."""