From f5d14ef15e98838b3cf18692d46c481287ed50d0 Mon Sep 17 00:00:00 2001 From: Dmitry Bely Date: Wed, 3 Feb 2021 13:52:14 +0300 Subject: [PATCH] Fix issue #280 --- src/module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module.cpp b/src/module.cpp index 96284819..57675fa2 100644 --- a/src/module.cpp +++ b/src/module.cpp @@ -21,7 +21,7 @@ namespace object m_obj(((borrowed_reference_t*)m)); scope current_module(m_obj); - handle_exception(init_function); + if (handle_exception(init_function)) return NULL; } return m;