Browse Source

clean up created Chromium instances

master
Shiz 1 year ago
parent
commit
9830183d01
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/overlay/chromium.py

+ 3
- 0
src/overlay/chromium.py View File

@ -119,6 +119,9 @@ class Chromium:
self.profile_dir = None
self.process = None
def __del__(self):
self.close()
async def launch(self):
if self.process:
await self.close()


Loading…
Cancel
Save