public void RemoveActor(int actorId) { IThread thread = _data.DeallocateActor(actorId); if (thread != null) { thread.RemoveActor(actorId); } }