Properly clear memory onDisable()