This version of Unity is unsupported.

LightEditor.OnDestroy

protected void OnDestroy();