Browse Source

Add missing finalizer

Marek Safar 14 năm trước cách đây
mục cha
commit
016ad09406
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      mcs/class/corlib/System.Threading.Tasks/TaskScheduler.cs

+ 4 - 0
mcs/class/corlib/System.Threading.Tasks/TaskScheduler.cs

@@ -52,6 +52,10 @@ namespace System.Threading.Tasks
 			this.proxy = new SchedulerProxy (this);
 		}
 
+		~TaskScheduler ()
+		{
+		}
+		
 		public static TaskScheduler FromCurrentSynchronizationContext ()
 		{
 			var syncCtx = SynchronizationContext.Current;