Add a `Destroyable` inteface
The purpose of this interface is to highlight developers that in order to cleanly get ride of the classes that implement the interface, they need to call the `destroy` method. This interface doesn't actually enforce calling `destroy`, but hopefully makes the omission more notorious.
Showing
Please register or sign in to comment