mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-08-04 05:55:31 +02:00
Catch exceptions in Window.update (Fixes #43)
This commit is contained in:
parent
07548ff9d6
commit
0af061edf1
1 changed files with 60 additions and 60 deletions
|
@ -47,7 +47,7 @@ RB_METHOD(windowUpdate) {
|
||||||
|
|
||||||
Window *w = getPrivateData<Window>(self);
|
Window *w = getPrivateData<Window>(self);
|
||||||
|
|
||||||
w->update();
|
GUARD_EXC(w->update(););
|
||||||
|
|
||||||
return Qnil;
|
return Qnil;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue