Skip to content

Commit

Permalink
chore: remove signal handler code
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F authored Sep 4, 2024
1 parent 2d6b6b1 commit 879ccda
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 90 deletions.
1 change: 0 additions & 1 deletion internal/native/message_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ func (m *MessageServer) UsingPlugin(pluginName string, pluginVersion string) err
defer free(cPluginVersion)

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
1 change: 0 additions & 1 deletion internal/native/mock_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,6 @@ func (m *MockServer) UsingPlugin(pluginName string, pluginVersion string) error
defer free(cPluginVersion)

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
87 changes: 0 additions & 87 deletions internal/native/signal.go

This file was deleted.

1 change: 0 additions & 1 deletion internal/native/verifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ func (v *Verifier) SetPublishOptions(providerVersion string, buildUrl string, pr

func (v *Verifier) Execute() error {
// TODO: Validate
InstallSignalHandlers()
result := C.pactffi_verifier_execute(v.handle)

/// | Error | Description |
Expand Down

0 comments on commit 879ccda

Please sign in to comment.