Skip to content

Commit

Permalink
Merge branch 'tim/fork_safety_workaround' into 'master'
Browse files Browse the repository at this point in the history
feat: Re-enable workaround ruby ffi bug until ffi PR #1117 is merged

See merge request TankerHQ/sdk-ruby!177
  • Loading branch information
tux3 committed Sep 12, 2024
2 parents b1de09f + 002a881 commit 0fbe701
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/tanker/c_tanker/fork_hook.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# frozen_string_literal: true

require 'tanker/core'

module Tanker
module CTanker
module ForkHook
def _fork(*args)
CTanker.tanker_before_fork
Core.before_fork
super
ensure
CTanker.tanker_after_fork
Expand Down

0 comments on commit 0fbe701

Please sign in to comment.