Reset the connection when the channel closes

This commit is contained in:
Ben Jackson 2018-05-27 13:41:23 +01:00
commit 73f8a66d2c
2 changed files with 4 additions and 0 deletions

View file

@ -128,6 +128,9 @@ class DebugSession( object ):
def OnChannelData( self, data ):
self._connection.OnData( data )
def OnChannelClosed( self ):
self._connection = None
def Stop( self ):
self._StopDebugAdapter()