This commit is contained in:
Timothy Jaeryang Baek committed 2026-11-15 00:37:29 +09:00
1 parent 571600016f
commit e78e7b3fec
1 file changed
+2
+2
View File
@@ -182,6 +182,8 @@ class WaylandDesktop(PortalDesktop):
await self.invoke(REMOTE, self.session, REMOTE + ".Session", "Stop")
async def stop_process(self, process):
if process.returncode is not None:
return
# Services can spawn D-Bus-activated apps in the same owned process group.
for sig in (signal.SIGTERM, signal.SIGKILL):
with contextlib.suppress(ProcessLookupError):