mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
31d7bde7b1
commit
4a1bafa39f
@ -6,6 +6,7 @@ import json
|
|||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
import subprocess
|
import subprocess
|
||||||
|
import time
|
||||||
import weakref
|
import weakref
|
||||||
from contextlib import suppress
|
from contextlib import suppress
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
@ -238,8 +239,6 @@ class Browser:
|
|||||||
|
|
||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
self.shutting_down = True
|
self.shutting_down = True
|
||||||
import shutil
|
|
||||||
import time
|
|
||||||
if self.worker:
|
if self.worker:
|
||||||
w, self.worker = self.worker, None
|
w, self.worker = self.worker, None
|
||||||
with suppress(OSError):
|
with suppress(OSError):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user