at_exit added. use it to clean your dishes.
This commit is contained in:
parent
5169bee0ea
commit
5ef72caa6b
1 changed files with 4 additions and 0 deletions
|
@ -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