I am working on a application that dynamically load different structures into JSmol, to remove the wait time between switching structures I have to create multiple applets. The problem is that there is no way to destroy an applet so as long as the page is not refreshed I am stuck with that applet in memory forever.
Since there is no provided method to do that, I tried different ways, Jmol._destroy, deleting the applet, setting it to null, etc. But none of those worked. Any ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am working on a application that dynamically load different structures into JSmol, to remove the wait time between switching structures I have to create multiple applets. The problem is that there is no way to destroy an applet so as long as the page is not refreshed I am stuck with that applet in memory forever.
Since there is no provided method to do that, I tried different ways, Jmol._destroy, deleting the applet, setting it to null, etc. But none of those worked. Any ideas?