angular-ui / ui-tinymce

AngularUI wrapper for TinyMCE
MIT License
488 stars 371 forks source link

Fix memory leak #349

Open sierraindiagolf opened 6 years ago

sierraindiagolf commented 6 years ago

Upon destroy we need to delete the setup method from the options object. Otherwise this is causing memory leaks leading to scope not being destroyed.