fix 'yield' in non-handler thread to return the right result
svn: r15512
This commit is contained in:
parent
269a9ba98d
commit
a2a04ebefe
|
@ -2221,8 +2221,7 @@ void *wxSchemeYield(void *sema)
|
||||||
else {
|
else {
|
||||||
Scheme_Object *a[1];
|
Scheme_Object *a[1];
|
||||||
a[0] = (Scheme_Object *)sema;
|
a[0] = (Scheme_Object *)sema;
|
||||||
scheme_sync(1, a);
|
return scheme_sync(1, a);
|
||||||
return scheme_false;
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (is_handler && wxYield())
|
if (is_handler && wxYield())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user