at_exit added. use it to clean your dishes.
This commit is contained in:
parent
5169bee0ea
commit
5ef72caa6b
|
@ -144,6 +144,10 @@ class RobustServer
|
|||
end
|
||||
$stderr.puts "Unbeachtete Signale: #{@signals.map(&Signal.method(:[])).join( ', ')}"
|
||||
trapping
|
||||
self.at_exit
|
||||
$stderr.puts "Beende mich selbst."
|
||||
end
|
||||
|
||||
def at_exit
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue