Skip to content
Snippets Groups Projects

Feature 2954

Merged alexey.stratulat requested to merge feature-2954 into master
2 files
+ 22
0
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 13
0
@@ -110,6 +110,10 @@
@@ -110,6 +110,10 @@
#include "dap_defines.h"
#include "dap_defines.h"
#include "dap_file_utils.h"
#include "dap_file_utils.h"
 
#ifdef DAP_SUPPORT_PYTHON_PLUGINSv
 
#include "dap_chain_plugins.h"
 
#endif
 
#define ENC_HTTP_URL "/enc_init"
#define ENC_HTTP_URL "/enc_init"
#define STREAM_CTL_URL "/stream_ctl"
#define STREAM_CTL_URL "/stream_ctl"
@@ -439,6 +443,12 @@ int main( int argc, const char **argv )
@@ -439,6 +443,12 @@ int main( int argc, const char **argv )
#endif
#endif
#endif
#endif
 
//Init python plugins
 
#ifdef DAP_SUPPORT_PYTHON_PLUGINS
 
log_it(L_NOTICE, "Loading python plugins");
 
dap_chain_plugins_init(g_config);
 
#endif
 
// Endless loop for server's requests processing
// Endless loop for server's requests processing
rc = dap_server_loop(l_server);
rc = dap_server_loop(l_server);
// After loop exit actions
// After loop exit actions
@@ -448,6 +458,9 @@ int main( int argc, const char **argv )
@@ -448,6 +458,9 @@ int main( int argc, const char **argv )
failure:
failure:
 
#ifdef DAP_SUPPORT_PYTHON_PLUGINS
 
dap_chain_plugins_deinit();
 
#endif
dap_stream_deinit();
dap_stream_deinit();
dap_stream_ctl_deinit();
dap_stream_ctl_deinit();
dap_http_folder_deinit();
dap_http_folder_deinit();
Loading