|
@@ -662,7 +662,7 @@
|
|
|
|
|
|
let bubbleCancelled = false;
|
|
let bubbleCancelled = false;
|
|
let cur = prim;
|
|
let cur = prim;
|
|
- while (cur) {
|
|
|
|
|
|
+ while (cur && !cur.isDisposed) {
|
|
// Only trigger the observers if the primitive is intersected (except for out)
|
|
// Only trigger the observers if the primitive is intersected (except for out)
|
|
if (!bubbleCancelled) {
|
|
if (!bubbleCancelled) {
|
|
this._updatePrimPointerPos(cur);
|
|
this._updatePrimPointerPos(cur);
|
|
@@ -1900,4 +1900,4 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-}
|
|
|
|
|
|
+}
|