Module: SQLite3::ForkSafety::CoreExt

Defined in:
lib/sqlite3/fork_safety.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#_forkObject



9
10
11
12
13
14
15
# File 'lib/sqlite3/fork_safety.rb', line 9

def _fork
  pid = super
  if pid == 0
    ForkSafety.discard
  end
  pid
end