Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Invalid
-
Affects Version/s: 5.15.0
-
Fix Version/s: 5.15
-
Component/s: Extras: Android
-
Platform/s:
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.