projects
/
irwi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moar threading stuff
[irwi]
/
src
/
selectremotedlg.cpp
diff --git
a/src/selectremotedlg.cpp
b/src/selectremotedlg.cpp
index
8b1085e
..
dbc8115
100644
(file)
--- a/
src/selectremotedlg.cpp
+++ b/
src/selectremotedlg.cpp
@@
-131,7
+131,10
@@
void SelectRemoteDlg::refreshDB()
{
setBusy(true);
if (onlinePollerThread != NULL) {
{
setBusy(true);
if (onlinePollerThread != NULL) {
+ onlinePollerThread->stop();
+ onlinePollerThread->wait();
delete onlinePollerThread;
delete onlinePollerThread;
+ onlinePollerThread = NULL;
}
onlinePollerThread = new OnlinePollerThread();
connect(onlinePollerThread, SIGNAL(online()),
}
onlinePollerThread = new OnlinePollerThread();
connect(onlinePollerThread, SIGNAL(online()),