1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-19 10:27:38 +03:00

config: Also set Config.shutting_down to be @propety on win32 and linux

This commit is contained in:
Athanasius 2021-01-11 17:13:31 +00:00
parent 462cd25312
commit 247577c5f4

View File

@ -281,6 +281,7 @@ class Config(object):
def set_shutdown(self):
self.__in_shutdown = True
@property
def shutting_down(self) -> bool:
return self.__in_shutdown
@ -366,6 +367,7 @@ class Config(object):
def set_shutdown(self):
self.__in_shutdown = True
@property
def shutting_down(self) -> bool:
return self.__in_shutdown