documentcloud/backbone — Issue #749: Shouldn't models call unbind() when model.destroy() method is invoked?
Author: jorgemanrubia
Created: 2011-11-17 13:07:37+00:00
State: open

Hi,

In its current implementation, when a backbone model is destroyed it won't unbind its event handlers. This makes that you have to handle those suscriptions manually (for example, in views listening to models). It you don't do so, couldn't this cause memory problems for models not being garbage-collected?

I could submit this modification if you consider it interesting.