mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-20 05:56:10 +05:00
fix crash
This commit is contained in:
@@ -46,7 +46,6 @@ func (bt *BTServer) Disconnect() {
|
|||||||
defer bt.mu.Unlock()
|
defer bt.mu.Unlock()
|
||||||
if bt.client != nil {
|
if bt.client != nil {
|
||||||
bt.client.Close()
|
bt.client.Close()
|
||||||
InitApiHelper(nil)
|
|
||||||
bt.client = nil
|
bt.client = nil
|
||||||
utils.FreeOSMemGC()
|
utils.FreeOSMemGC()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user