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

fixed a crash when the app goes to the background

parent 9b88bded
No related branches found
No related tags found
1 merge request!23Release
......@@ -59,6 +59,7 @@ func track(session *storage.Session, addrSpace *AddressSpace, ourId *id.ID, stop
// Wait until we get the ID size from the network
receptionStore := session.Reception()
addrSpace.UnregisterNotification(addressSpaceSizeChanTag)
addressSizeUpdate, err := addrSpace.RegisterNotification(addressSpaceSizeChanTag)
if err != nil {
jww.FATAL.Panicf("failed to register address size notification "+
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment