mirror of
https://github.com/spl0k/supysonic.git
synced 2024-11-09 19:52:16 +00:00
Properly close connections when killing the daemon
This commit is contained in:
parent
b4e737c243
commit
8f5a9a3b73
@ -69,6 +69,8 @@ class Daemon:
|
||||
conn = self.__listener.accept()
|
||||
self.__handle_connection(conn)
|
||||
|
||||
self.__listener.close()
|
||||
|
||||
def start_scan(self, folders=[], force=False):
|
||||
if not folders:
|
||||
with db_session:
|
||||
|
Loading…
Reference in New Issue
Block a user