强行退出
This commit is contained in:
@@ -18,6 +18,7 @@ from time import sleep, time
|
|||||||
from RSSEntry import RSSEntry, calHash, ChatEntry, HashEntries
|
from RSSEntry import RSSEntry, calHash, ChatEntry, HashEntries
|
||||||
from traceback import format_exc
|
from traceback import format_exc
|
||||||
from rssparser import RSSParser
|
from rssparser import RSSParser
|
||||||
|
from os import _exit
|
||||||
|
|
||||||
|
|
||||||
class RSSCheckerThread(Thread):
|
class RSSCheckerThread(Thread):
|
||||||
@@ -61,7 +62,7 @@ class RSSCheckerThread(Thread):
|
|||||||
except:
|
except:
|
||||||
print(format_exc())
|
print(format_exc())
|
||||||
if self._main._commandLine._rebuildHashlist and self._main._commandLine._exitAfterRebuild:
|
if self._main._commandLine._rebuildHashlist and self._main._commandLine._exitAfterRebuild:
|
||||||
exit(0)
|
_exit(0)
|
||||||
self._main._commandLine._rebuildHashlist = False
|
self._main._commandLine._rebuildHashlist = False
|
||||||
|
|
||||||
def __init__(self, m):
|
def __init__(self, m):
|
||||||
|
|||||||
Reference in New Issue
Block a user