void RunTask(Task task)
		{
			var oldActiveScheduler = activeScheduler;
			activeScheduler = this;
			try {
				base.TryExecuteTask(task);
			} finally {
				activeScheduler = oldActiveScheduler;
			}
		}
Beispiel #2
0
        void RunTask(Task task)
        {
            var oldActiveScheduler = activeScheduler;

            activeScheduler = this;
            try {
                base.TryExecuteTask(task);
            } finally {
                activeScheduler = oldActiveScheduler;
            }
        }