public void removeTask(string path) { if (tasks.ContainsKey(path)) { AudioTask task = tasks[path]; tasks.Remove(path); task.onDispose(); } }