mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-22 14:56:17 +00:00
PizdecEbanii
This commit is contained in:
parent
11b23f3f04
commit
ad02a8de6d
1 changed files with 6 additions and 1 deletions
|
|
@ -129,8 +129,13 @@ VALUE kernelLoadDataInt(const char *filename, bool rubyExc){
|
||||||
int state = 0;
|
int state = 0;
|
||||||
VALUE result = rb_protect(load_protect, (VALUE)args, &state);
|
VALUE result = rb_protect(load_protect, (VALUE)args, &state);
|
||||||
|
|
||||||
|
if(RTEST(result) == false){
|
||||||
|
printf("DEBUG ERROR\n");
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
rb_funcallv(port, rb_intern("close"), 0, nullptr);
|
rb_funcallv(port, rb_intern("close"), 0, nullptr);
|
||||||
|
|
||||||
if (state) {
|
if (state) {
|
||||||
VALUE err = rb_errinfo();
|
VALUE err = rb_errinfo();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue