[core] Use mapbox::base::TypeWrapper instead of utils::peer

This commit is contained in:
Mikhail Pozdnyakov
2019-09-09 18:35:23 +03:00
parent 5207a36074
commit 151ea331f8
10 changed files with 9 additions and 232 deletions

View File

@@ -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 = util::peer();
ownedSource->peer = mapbox::base::TypeWrapper();
// Release the strong reference to the java peer
assert(javaPeer);