diff --git a/internal/native/message_server.go b/internal/native/message_server.go index 8102e7370..9f913de28 100644 --- a/internal/native/message_server.go +++ b/internal/native/message_server.go @@ -330,8 +330,8 @@ func (m *MessageServer) UsingPlugin(pluginName string, pluginVersion string) err 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. diff --git a/internal/native/mock_server.go b/internal/native/mock_server.go index d3adcfc85..7d57dcd49 100644 --- a/internal/native/mock_server.go +++ b/internal/native/mock_server.go @@ -555,8 +555,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.