Skip to content
Snippets Groups Projects
Commit 498f079b authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

made the tracker unregister notifications on close so they can be regestered on repoen.

parent 78ad2a55
Branches
Tags
1 merge request!23Release
...@@ -122,6 +122,7 @@ func track(session *storage.Session, addrSpace *AddressSpace, ourId *id.ID, stop ...@@ -122,6 +122,7 @@ func track(session *storage.Session, addrSpace *AddressSpace, ourId *id.ID, stop
case addressSize = <-addressSizeUpdate: case addressSize = <-addressSizeUpdate:
receptionStore.SetToExpire(addressSize) receptionStore.SetToExpire(addressSize)
case <-stop.Quit(): case <-stop.Quit():
addrSpace.UnregisterNotification(addressSpaceSizeChanTag)
stop.ToStopped() stop.ToStopped()
return return
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment