Skip to content

Commit

Permalink
FIX: deinit *all* global net vfs on stop
Browse files Browse the repository at this point in the history
  • Loading branch information
koying committed Feb 10, 2017
1 parent 56617c8 commit 4581f04
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions xbmc/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3037,13 +3037,7 @@ void CApplication::Stop(int exitCode)
// unloading
CScriptInvocationManager::GetInstance().Uninitialize();

#ifdef HAS_FILESYSTEM_SFTP
CSFTPSessionManager::DisconnectAllSessions();
#endif

#if defined(TARGET_POSIX) && defined(HAS_FILESYSTEM_SMB)
smb.Deinit();
#endif
CloseNetworkShares();

g_Windowing.DestroyRenderSystem();
g_Windowing.DestroyWindow();
Expand Down

0 comments on commit 4581f04

Please sign in to comment.