Prevent crash

This commit is contained in:
M66B 2022-04-21 08:46:56 +02:00
parent 4f60205d66
commit a0265c594b
1 changed files with 2 additions and 1 deletions

View File

@ -2327,7 +2327,8 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
@Override
public void delegate() {
try {
cowner.value.destroy();
if (cowner.value != null)
cowner.value.destroy();
} catch (Throwable ex) {
Log.e(ex);
} finally {