This was releasing the reference counting so is likely still needed unless you implemented so other method of releasing the Plugin once its not used anymore.