Add MapRenderer dangling reference check (#3541)

Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
This commit is contained in:
Adrian Cojocaru
2025-06-11 01:27:09 +03:00
committed by GitHub
parent 6704f0f80a
commit 7b8f7458ca
5 changed files with 48 additions and 17 deletions

View File

@@ -81,6 +81,7 @@ public:
void waitForEmpty(const util::SimpleIdentity tag) override;
void requestRender();
void requestRender(JNIEnv&, jni::Local<jni::Object<MapRenderer>>&);
// Snapshot - requires a RunLoop on the calling thread
using SnapshotCallback = std::function<void(PremultipliedImage)>;