#include "message_handler.h" #include struct ExitHandler : MessageHandler { IpcId GetId() const override { return IpcId::Exit; } void Run(std::unique_ptr request) override { LOG_S(INFO) << "Exiting; got IpcId::Exit"; exit(0); } }; REGISTER_MESSAGE_HANDLER(ExitHandler);