Closed wkeese closed 6 years ago
DCL v1's advise.after() etc. methods returned an object with a destroy() method, but DCL v2's methods return an object with just unadvise() and remove().
According to http://www.dcljs.org/2.x/docs/advise_js/after/ there should still be a destroy() method in v2. Additionally, it would be convenient to use with Cleanable#pushCleanup().
DCL v1's advise.after() etc. methods returned an object with a destroy() method, but DCL v2's methods return an object with just unadvise() and remove().
According to http://www.dcljs.org/2.x/docs/advise_js/after/ there should still be a destroy() method in v2. Additionally, it would be convenient to use with Cleanable#pushCleanup().