Skip to content
Snippets Groups Projects
Commit 4cde1da7 authored by Xiao Gui's avatar Xiao Gui Committed by xgui3783
Browse files

fix: mem leak

parent a86327e4
No related branches found
No related tags found
No related merge requests found
...@@ -106,6 +106,7 @@ export class NehubaViewerUnit implements AfterViewInit,OnDestroy{ ...@@ -106,6 +106,7 @@ export class NehubaViewerUnit implements AfterViewInit,OnDestroy{
this._s$.forEach(_s$=>{ this._s$.forEach(_s$=>{
if(_s$) _s$.unsubscribe() if(_s$) _s$.unsubscribe()
}) })
this.nehubaViewer.dispose()
} }
private patchNG(){ private patchNG(){
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment