public void removeAllDelegates() { if (! locked) forceRemoveAllDelegates (); else toQuit = true; } #endregion