Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fc35896b authored by Ashwini Munigala's avatar Ashwini Munigala Committed by Gerrit - the friendly Code Review server
Browse files

MAP: Fix service shutdown procedure

At service stop() a signal is sent to the handler thread to shutdown any
servers and the service it self.
It however seems like the MapService instance is released for garbage
collection before the shutdown is completed. The observed behaviour is:
    * the message handler to stop handling messages
    * the object is garbage collected during shutdown of the MapServer
      instances.

The fix is to wait for shutdown to complete before returning from
stop(), and use a Map owned looper to drive the message loop.

Change-Id: Id315628668d8f6643a1a66589f9a01964e85a6a7
CRs-Fixed: 948117
parent 977ff92f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment