We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7d6b031 + d2b2976 commit 699dfa0Copy full SHA for 699dfa0
src/ar.android.ts
@@ -269,6 +269,11 @@ export class AR extends ARBase {
269
270
disposeNativeView(): void {
271
super.disposeNativeView();
272
+ // (fix: #90) remove anchor node
273
+ if (_origin) {
274
+ _origin.setParent(null);
275
+ _origin = null;
276
+ }
277
// destroy AR fragment
278
const supportFragmentManager = (application.android.foregroundActivity || application.android.startActivity).getSupportFragmentManager();
279
supportFragmentManager.beginTransaction().remove(_fragment).commit();
0 commit comments