Skip to content

Commit

Permalink
don't wait for scanner thread to finish when stoping scan, fixes #13535
Browse files Browse the repository at this point in the history
  • Loading branch information
pieh committed Nov 23, 2012
1 parent 80c5ec2 commit 7143e8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xbmc/music/infoscanner/MusicInfoScanner.cpp
Expand Up @@ -355,7 +355,7 @@ void CMusicInfoScanner::Stop()
if (m_bCanInterrupt)
m_musicDatabase.Interupt();

StopThread();
StopThread(false);
}

static void OnDirectoryScanned(const CStdString& strDirectory)
Expand Down
2 changes: 1 addition & 1 deletion xbmc/video/VideoInfoScanner.cpp
Expand Up @@ -189,7 +189,7 @@ namespace VIDEO
if (m_bCanInterrupt)
m_database.Interupt();

StopThread();
StopThread(false);
}

void CVideoInfoScanner::CleanDatabase(CGUIDialogProgressBarHandle* handle /*= NULL */, const set<int>* paths /*= NULL */, bool showProgress /*= true */)
Expand Down

0 comments on commit 7143e8d

Please sign in to comment.