Async::SignalsSourceAsyncSignalsForkHook

module ForkHook

Resets inherited signal state in forked children.

Definitions

def _fork

Fork the current process and reset inherited signal state in the child.

Implementation

def _fork
	pid = super
	
	if pid == 0
		Async::Signals.reset!
	end
	
	return pid
end