示例#1
0
            public E_Single(Action <IWorker> taskMethod)
            {
                SingleSubThreadManager v = new SingleSubThreadManager();

                inst = v;
                Init(v.StartTask(taskMethod));
            }
示例#2
0
            protected override void Dispose(bool disposing)
            {
                if (inst != null)
                {
                    inst.Dispose();
                    inst = null;

                    base.Dispose(disposing);
                }
            }