diff options
Diffstat (limited to 'src/BLua.cc')
-rw-r--r-- | src/BLua.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BLua.cc b/src/BLua.cc index 7eda510..2bc726e 100644 --- a/src/BLua.cc +++ b/src/BLua.cc @@ -870,7 +870,7 @@ bool Balau::Lua::yieldC() throw (GeneralException) { Future<int> * p = (Future<int> *) touserdata(-2); if (p->m_ranOnce) - throw EAgain(p->m_evt); + Task::operationYield(p->m_evt, Task::STACKLESS); resumeC(); return yieldC(); |