Skip to content

Commit

Permalink
fix broken adapters (4747) again
Browse files Browse the repository at this point in the history
  • Loading branch information
alabuzhev committed Aug 13, 2016
1 parent 74e30ad commit 99cb5e2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions far/changelog
@@ -1,3 +1,7 @@
drkns 13.08.2016 17:07:34 +0200 - build 4756

1. Ещё одно уточнение 4747.

svs 09.08.2016 10:31:09 +0300 - build 4755

1. SQLite 3.14.0
Expand Down
8 changes: 7 additions & 1 deletion far/plclass.cpp
Expand Up @@ -1268,7 +1268,13 @@ class custom_plugin_factory: public plugin_factory
{
try
{
return std::make_unique<custom_plugin_module>(m_Imports.pCreateInstance(Filename.data()));
auto Module = std::make_unique<custom_plugin_module>(m_Imports.pCreateInstance(Filename.data()));
if (!Module->get_opaque())
{
Global->CatchError();
Module.reset();
}
return Module;
}
catch (const SException&)
{
Expand Down
2 changes: 1 addition & 1 deletion far/vbuild.m4
@@ -1 +1 @@
m4_define(BUILD,4755)m4_dnl
m4_define(BUILD,4756)m4_dnl

0 comments on commit 99cb5e2

Please sign in to comment.