Cleanup ResourceLocator event firing.