예제 #1
0
        public async Task Delete(CommandContext ctx, string name)
        {
            await NotifyWorking(ctx, "Delete " + name);

            var interactor = new Interactor(ctx);

            interactor.Start();

            lock (ProjectMgr.GetLocker(name))
            {
                ProjectMgr.DeleteProject(name, interactor);
            }

            interactor.StopAndWait();

            await NotifyFinish(ctx);
        }