Clean up when an object of CodeManager is destroyed