From ad02a8de6d8feb76406fce9e62d3ccded33189e5 Mon Sep 17 00:00:00 2001 From: ZakatTeamI2P Date: Thu, 23 Apr 2026 22:27:34 +0400 Subject: [PATCH] PizdecEbanii --- binding-mri/filesystem-binding.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/binding-mri/filesystem-binding.cpp b/binding-mri/filesystem-binding.cpp index 68d67fe..dd328a8 100644 --- a/binding-mri/filesystem-binding.cpp +++ b/binding-mri/filesystem-binding.cpp @@ -129,8 +129,13 @@ VALUE kernelLoadDataInt(const char *filename, bool rubyExc){ int state = 0; 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); - + if (state) { VALUE err = rb_errinfo();