mirror of
https://github.com/torlando-tech/pyxis.git
synced 2026-08-28 13:34:17 +00:00
fix: prevent tile worker starvation on unchanged map model
This commit is contained in:
@@ -620,7 +620,9 @@ void MapScreen::updateModel(const Pyxis::MapView::Request& request) {
|
||||
presenter_.recenter(true, request.local_location)) {
|
||||
center_initialized_ = true;
|
||||
}
|
||||
requests_released_ = false;
|
||||
if (!presenter_.frameBuiltForCurrentEpoch()) {
|
||||
requests_released_ = false;
|
||||
}
|
||||
(void)presenter_.buildFrame(request);
|
||||
unlockState();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user