File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -869,6 +869,22 @@ class TrackViewport extends Viewport {
869
869
return content
870
870
}
871
871
872
+ dispose ( ) {
873
+
874
+ if ( this . popover ) {
875
+ this . popover . dispose ( )
876
+ }
877
+
878
+ if ( this . popoverList ) {
879
+ for ( let i = 0 ; i < this . popoverList . length ; i ++ ) {
880
+ this . popoverList [ i ] . dispose ( )
881
+ }
882
+
883
+ this . popoverList = undefined
884
+ }
885
+
886
+ super . dispose ( )
887
+ }
872
888
873
889
}
874
890
Original file line number Diff line number Diff line change @@ -192,10 +192,6 @@ class Viewport {
192
192
*/
193
193
dispose ( ) {
194
194
195
- if ( this . popover ) {
196
- this . popover . dispose ( )
197
- }
198
-
199
195
this . $viewport . get ( 0 ) . remove ( )
200
196
201
197
// Null out all properties -- this should not be neccessary, but just in case there is a
You can’t perform that action at this time.
0 commit comments