[Mono-osx] PermFormSelectOnMainThread patch for monomac

kjpou kjpou at pt.lu
Mon May 23 10:06:05 EDT 2011


Maxi

I submitted this patch for review so the next time Miguel or Geoff take 
a look at the pull requests they will get it.

Kenneth

On 5/23/11 3:48 PM, Maxi Combina wrote:
>   		private void InvokeOnMainThread (Selector sel, NSObject obj, bool wait)
>   		{
> -			Messaging.void_objc_msgSend_intptr_intptr_bool (this.Handle, selPerformSelectorOnMainThreadWithObjectWaitUntilDone, sel.Handle, obj.Handle, wait);
> +			Messaging.void_objc_msgSend_intptr_intptr_bool (this.Handle, selPerformSelectorOnMainThreadWithObjectWaitUntilDone, sel.Handle, obj == null ? IntPtr.Zero : obj.Handle, wait);
>   		}


More information about the Mono-osx mailing list