summaryrefslogtreecommitdiff
path: root/Kernel/Storage/ATA.h
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-09-05 10:31:39 -0700
committerAndreas Kling <kling@serenityos.org>2021-09-05 20:12:09 +0200
commit5905d2e9e9380f6c4d0fc370ba8271371e87e1d3 (patch)
tree51664f3441c7a2a17c9febf53153ab9150d92e78 /Kernel/Storage/ATA.h
parent293e7ccfc703ceb646b395eeaf164b5c197d6bb2 (diff)
downloadserenity-5905d2e9e9380f6c4d0fc370ba8271371e87e1d3.zip
RequestServer: Exit early to avoid executing protocol destructors
I broke this when I made the protocol objects be wrapped by smart pointers to appease static analysis. The Protocol base class currently VERIFY's that it's never called. So to have the best of both worlds until someone actually fixes the code to do proper de-registration, just call `exit(..)` so the smart pointers never go out of scope.
Diffstat (limited to 'Kernel/Storage/ATA.h')
0 files changed, 0 insertions, 0 deletions