Skip to content

Commit

Permalink
Merge pull request #1557 from Karry/close-previous-db-load
Browse files Browse the repository at this point in the history
close previous db-load job
  • Loading branch information
Framstag authored Feb 1, 2024
2 parents cbae4ed + 5b62a91 commit e6a9327
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,8 @@ void PlaneMapRenderer::TriggerMapRendering(const MapViewStruct& request, size_t
{
QMutexLocker locker(&lock);
if (loadJob!=nullptr){
// TODO: check if job contains same tiles...
// TODO: check if job contains the same tiles...
loadJob->Close();
loadJob->deleteLater();
loadJob=nullptr;
}
Expand Down

0 comments on commit e6a9327

Please sign in to comment.