AnsweredAssumed Answered

How to remove the 2d map from the dom

Question asked by aweeg19 on Mar 22, 2017
Latest reply on Jun 11, 2018 by bsvensson-esristaff

the way our UI works the map can be opened or closed depending on what the user is doing, when i remove the map from the dom it seems to still be holding on to memory, it just keeps going up and up until the browser becomes unresponsive. is there a better way to do this? this is my current code 


this.$mainDiv.find(".arc-div").remove(); = null;
this.ArcMap = null;
this.ArcView = null;


it seems like the tiles are still in memory they get orphaned so it never gets cleaned up. any help would be awesome! thanks!