diff options
Diffstat (limited to 'platform/android/src')
-rw-r--r-- | platform/android/src/style/sources/source.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/src/style/sources/source.cpp b/platform/android/src/style/sources/source.cpp index e13f55aff1..be4c0367fc 100644 --- a/platform/android/src/style/sources/source.cpp +++ b/platform/android/src/style/sources/source.cpp @@ -133,7 +133,7 @@ namespace android { // Release the peer relationships. These will be re-established when the source is added to a map assert(ownedSource->peer.has_value()); ownedSource->peer.get<std::unique_ptr<Source>>().release(); - ownedSource->peer.reset(); + ownedSource->peer = util::peer(); // Release the strong reference to the java peer assert(javaPeer); |