Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
5.15.0
Description
If I close an Android service by calling stopSelf() the onDestroy() function of the service gets not called.
The attached example is a slightly modified minimal service example from KDAB.
Watch the application output over adb for example by calling adb.exe logcat | findstr /I kdab
Expected bahavior:
If you type "quit" in the message box, the service will be closed and the destructor function onDestroy() gets called.
Actual bahavior:
The service gets closed but the onDestroy() function is not executed.