Commit 85c6d25e authored by Nick Mathewson's avatar Nick Mathewson 🤹
Browse files

fix crash


svn:r3927
parent 1bf1f44e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -86,6 +86,7 @@ def handleEvent(s, body, circs, streamsByNonce, streamsByIdent):
        elif status in (TorControl.STREAM_STATUS.CLOSED,
                        TorControl.STREAM_STATUS.FAILED):
            circid, (host,url) = streamsByIdent[ident]
            if circs.has_key(circid):
                del circs[circid]
            del streamsByIdent[ident]
    elif event == TorControl.EVENT_TYPE.CIRCSTATUS: