3 ms·
Only if you inherit every object in your application from their "goog.Disposable" super class and call object.dispose() whenever you want to get rid of it. This
by robinduckett 14y ago
Only if you inherit every object in your application from their "goog.Disposable" super class and call object.dispose() whenever you want to get rid of it. This kind of negates the point of garbage collection. If you aren't removing event handlers when you destroy objects then it's your own fault.