mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-25 09:11:06 -04:00
Fixed crash in forums and channels when switching fast between forums/channels.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5534 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
bcb76154f7
commit
9049440253
2 changed files with 6 additions and 4 deletions
|
@ -859,9 +859,10 @@ void ForumsDialog::insertThreads()
|
|||
std::cerr << "ForumsDialog::insertThreads() stop current fill thread" << std::endl;
|
||||
#endif
|
||||
// stop current fill thread
|
||||
fillThread->stop();
|
||||
delete(fillThread);
|
||||
ForumsFillThread *thread = fillThread;
|
||||
fillThread = NULL;
|
||||
thread->stop();
|
||||
delete(thread);
|
||||
|
||||
ui.progressBar->hide();
|
||||
ui.progLayOutTxt->hide();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue