* tasklets.c (continuation_store): Return from an error condition
immediately.
svn path=/trunk/mono/; revision=152562
+2010-02-26 Robert Jordan <robertj@gmx.net>
+
+ * tasklets.c (continuation_store): Return from an error condition
+ immediately.
+
2010-02-26 Martin Baulig <martin@ximian.com>
* debug-debugger.c (MonoDebuggerInfo): Added `abort_runtime_invoke'.
2010-02-26 Martin Baulig <martin@ximian.com>
* debug-debugger.c (MonoDebuggerInfo): Added `abort_runtime_invoke'.
MonoLMF *lmf = mono_get_lmf ();
gsize num_bytes;
MonoLMF *lmf = mono_get_lmf ();
gsize num_bytes;
*e = mono_get_exception_argument ("cont", "Continuation not initialized");
*e = mono_get_exception_argument ("cont", "Continuation not initialized");
- if (cont->domain != mono_domain_get () || cont->thread_id != GetCurrentThreadId ())
+ return 0;
+ }
+ if (cont->domain != mono_domain_get () || cont->thread_id != GetCurrentThreadId ()) {
*e = mono_get_exception_argument ("cont", "Continuation from another thread or domain");
*e = mono_get_exception_argument ("cont", "Continuation from another thread or domain");
cont->lmf = lmf;
cont->return_ip = __builtin_return_address (0);
cont->lmf = lmf;
cont->return_ip = __builtin_return_address (0);