summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-06-07 09:18:21 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-06-07 09:19:15 +0200
commit69a6ce90df7e0f074a714e0938cfd526076e38a3 (patch)
tree020cabea4e9d81333863c08df232679c1bb2d349 /Kernel
parent4edc73ad1f38c02be8c0e626f0bacb21215a7ade (diff)
downloadserenity-69a6ce90df7e0f074a714e0938cfd526076e38a3.zip
AK: Add a ScopeGuard helper that invokes a callback when destroyed.
This is useful when you want to ensure some little thing happens when you exit a certain scope. This patch makes use of it in LibC's netdb code to make sure we close the connection to the LookupServer.
Diffstat (limited to 'Kernel')
0 files changed, 0 insertions, 0 deletions