Skip to content

Fix a strange startup crash

Flo Lee requested to merge fix-startupcrash into ubports/xenial

When working on clean shutdown it seems we offended the push notification registration thread. This should not be initialized twice, but it might have been, if the push token and the auth state arrive at the rather same time. This might even need a QMutex since it can have 2 codepaths accessing it.

Also this removes a stale timeout on an async call (we said we gonna remove them) and a bad initialization to dMessageInteractionInfo in a message, it should be an empty structure, but not a null ptr...

Edited by Flo Lee

Merge request reports