mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-23 00:01:21 -04:00
removed potential deadlock in method called from notify
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6838 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
26c1ce8025
commit
7ba1827b4c
1 changed files with 3 additions and 0 deletions
|
@ -627,6 +627,9 @@ void MainWindow::updateStatus()
|
||||||
|
|
||||||
void MainWindow::updateFriends()
|
void MainWindow::updateFriends()
|
||||||
{
|
{
|
||||||
|
if(RsAutoUpdatePage::eventsLocked())
|
||||||
|
return ;
|
||||||
|
|
||||||
unsigned int friendCount = 0;
|
unsigned int friendCount = 0;
|
||||||
rsPeers->getPeerCount (&friendCount, &onlineCount, false);
|
rsPeers->getPeerCount (&friendCount, &onlineCount, false);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue