Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Kill the app on logging out from lockscreen

ashilkna7038471300e
diff --git a/mobile/lib/ui/tools/lock_screen.dart b/mobile/lib/ui/tools/lock_screen.dart
index 15f9d0250b..98d02fb6d1 100644
--- a/mobile/lib/ui/tools/lock_screen.dart
+++ b/mobile/lib/ui/tools/lock_screen.dart
@@ -213,6 +213,7 @@ class _LockScreenState extends State<LockScreen>
isCritical: true,
firstButtonOnTap: () async {
await UserService.instance.logout(context);
+ Process.killPid(pid, ProcessSignal.sigkill);
},
);
}