Skip to content

Commit

Permalink
Merge branch 'fix/issue_269_sa_onstack_flag_part2' into fix/pact_ffi_…
Browse files Browse the repository at this point in the history
…headers
  • Loading branch information
YOU54F committed Jul 3, 2024
2 parents 055d548 + abd1815 commit 58a472a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions internal/native/message_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@ func (m *MessageServer) UsingPlugin(pluginName string, pluginVersion string) err
defer free(cPluginName)
cPluginVersion := C.CString(pluginVersion)
defer free(cPluginVersion)

InstallSignalHandlers()

r := C.pactffi_using_plugin(m.messagePact.handle, cPluginName, cPluginVersion)
InstallSignalHandlers()

// 1 - A general panic was caught.
// 2 - Failed to load the plugin.
Expand Down
2 changes: 1 addition & 1 deletion internal/native/mock_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,8 @@ func (m *MockServer) UsingPlugin(pluginName string, pluginVersion string) error
cPluginVersion := C.CString(pluginVersion)
defer free(cPluginVersion)

InstallSignalHandlers()
r := C.pactffi_using_plugin(m.pact.handle, cPluginName, cPluginVersion)
InstallSignalHandlers()

// 1 - A general panic was caught.
// 2 - Failed to load the plugin.
Expand Down

0 comments on commit 58a472a

Please sign in to comment.