Please sign in to comment.
Reimplement registerDisposable in term of on-dispose callback.
Presumably, unless you're creating and disposing object in hot loop (if you do that, you should probably fix that anyway), slight loss in performance should not matter (I'm not even sure this will actually be slower, given that goog.disposeAll creates an arguments object). R=nnaze DELTA=15 (0 added, 14 deleted, 1 changed) Revision created by MOE tool push_codebase. MOE_MIGRATION=6180 git-svn-id: http://closure-library.googlecode.com/svn/trunk@2459 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
- Loading branch information...
Showing with 1 addition and 15 deletions.