Fix: change order of plugin loading
This commit is contained in:
1 parent
029875e0a0
commit
7697f73ada
1 file changed
+1
-1
@@ -22,6 +22,7 @@ void init_plugins(SparkServices &services) {
|
||||
boost::filesystem::path(), ""))>
|
||||
keep_alive;
|
||||
|
||||
init_spark_plugin(services);
|
||||
auto plugin_path = os::sparkd_wd() + "/plugins/";
|
||||
if (!boost::filesystem::is_directory(plugin_path)) {
|
||||
LOG(Plugin, Info,
|
||||
@@ -31,7 +32,6 @@ void init_plugins(SparkServices &services) {
|
||||
}
|
||||
|
||||
// initialize the plugins in libspark.so
|
||||
init_spark_plugin(services);
|
||||
|
||||
boost::filesystem::directory_iterator end;
|
||||
for (auto iter = boost::filesystem::directory_iterator(plugin_path);
|
||||
|
||||
Reference in new issue
Block a user