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
|
end
|
||||||
$stderr.puts "Unbeachtete Signale: #{@signals.map(&Signal.method(:[])).join( ', ')}"
|
$stderr.puts "Unbeachtete Signale: #{@signals.map(&Signal.method(:[])).join( ', ')}"
|
||||||
trapping
|
trapping
|
||||||
|
self.at_exit
|
||||||
$stderr.puts "Beende mich selbst."
|
$stderr.puts "Beende mich selbst."
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def at_exit
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue