dWorld.Foundation.Utility.Threading.dLightWeightProcessThread.AsyncRemoveService C# (CSharp) Method

AsyncRemoveService() public static method

public static AsyncRemoveService ( dLightWeightProcessBase _Process ) : void
_Process dLightWeightProcessBase
return void
		public static void AsyncRemoveService (dLightWeightProcessBase _Process)
		{
			if (m_Processes != null) {
				if (m_Processes.Remove (_Process)) {
					_Process.internal_DecrementRegister ();
					ThreadProcess.EnqueueCommand (new Command (eCommandType.UnRegister, _Process));
				}
			}
		}