Pass global event objects through mail_t
This commit is contained in:
parent
0a05c28df8
commit
cf9eb961fc
11 changed files with 129 additions and 20 deletions
|
|
@ -758,7 +758,8 @@ void appasset(resp_https_t response, req_https_t request) {
|
|||
response->write(SimpleWeb::StatusCode::success_ok, in);
|
||||
}
|
||||
|
||||
void start(std::shared_ptr<safe::signal_t> shutdown_event) {
|
||||
void start() {
|
||||
auto shutdown_event = mail::man->event<bool>(mail::shutdown);
|
||||
|
||||
bool clean_slate = config::sunshine.flags[config::flag::FRESH_STATE];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue