Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit 6b8df34

Browse files
committed
[core] Put gfx backend scope guard to Renderer::reduceMemoryUse()
1 parent eaed003 commit 6b8df34

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/mbgl/renderer/renderer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ void Renderer::dumpDebugLogs() {
116116
}
117117

118118
void Renderer::reduceMemoryUse() {
119+
gfx::BackendScope guard { impl->backend };
119120
impl->reduceMemoryUse();
120121
impl->orchestrator.reduceMemoryUse();
121122
}

0 commit comments

Comments
 (0)