mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-02-16 14:53:14 +03:00
Now closing the navigator when the viewer closes
At the very least this was causing the navigator to continue to request and process frames even after its viewer had been closed.
This commit is contained in:
parent
4224960252
commit
c6a38dd802
@ -470,7 +470,11 @@ $.extend( $.Viewer.prototype, $.EventHandler.prototype, $.ControlDock.prototype,
|
||||
THIS[ this.hash ].updateRequestId = null;
|
||||
}
|
||||
|
||||
if( this.drawer ){
|
||||
if ( this.navigator ) {
|
||||
this.navigator.close();
|
||||
}
|
||||
|
||||
if ( this.drawer ) {
|
||||
this.drawer.clearOverlays();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user