mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-19 06:20:44 -04:00
Fixed crash on shutdown of RetroShare, when the cache loading is running.
Now the p3distrib threads are stopped before the instance of AuthGPG is deleted. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4119 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
372d837af1
commit
f9c896c3ac
5 changed files with 15 additions and 3 deletions
|
@ -180,5 +180,15 @@ void RsServer::rsGlobalShutDown()
|
|||
join();
|
||||
ftserver->StopThreads();
|
||||
|
||||
// stop the p3distrib threads
|
||||
#ifndef MINIMAL_LIBRS
|
||||
mForums->join();
|
||||
mChannels->join();
|
||||
|
||||
#ifdef RS_USE_BLOGS
|
||||
mBlogs->join();
|
||||
#endif
|
||||
#endif // MINIMAL_LIBRS
|
||||
|
||||
AuthGPGExit();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue