public E_Single(Action <IWorker> taskMethod) { SingleSubThreadManager v = new SingleSubThreadManager(); inst = v; Init(v.StartTask(taskMethod)); }
protected override void Dispose(bool disposing) { if (inst != null) { inst.Dispose(); inst = null; base.Dispose(disposing); } }