diff options
author | Josh Rahm <rahm@google.com> | 2024-02-21 17:00:26 -0700 |
---|---|---|
committer | Josh Rahm <rahm@google.com> | 2024-02-21 17:00:26 -0700 |
commit | 08a2b185043d3b7a9f746e42f47a5e06cf4bbeae (patch) | |
tree | 64ebe1934a400e95b6de2b14c5218aaf1d0b5ef2 | |
parent | b5e1bf74ae26b57815a5dba24774ffac45603a66 (diff) | |
download | wetterhorn-08a2b185043d3b7a9f746e42f47a5e06cf4bbeae.tar.gz wetterhorn-08a2b185043d3b7a9f746e42f47a5e06cf4bbeae.tar.bz2 wetterhorn-08a2b185043d3b7a9f746e42f47a5e06cf4bbeae.zip |
Finally found the source of the deadlock bug.
I was initializing the plugin twice, causing hs_init to be called twice
rendering the teardown call to hs_exit useless. Things finally appear to
be working as intended, and it's likely this plugin architecture will
work afterall!
-rw-r--r-- | harness/src/plugin.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/harness/src/plugin.c b/harness/src/plugin.c index 3c18d03..8226db7 100644 --- a/harness/src/plugin.c +++ b/harness/src/plugin.c @@ -222,8 +222,6 @@ int plugin_hot_reload(int argc, char **argv, const char *filepath, goto fail; } - printf("Loading plugin ...\n"); - plugin->plugin_load(plugin->argc, plugin->argv, &plugin->foreign_intf); printf("Hot starting plugin ...\n"); plugin->state = plugin->plugin_hot_start(marshalled_state, sz); |