FIXUP server-actor handler receive valid server config
This commit is contained in:
parent
e29a2d29b6
commit
357ad0d713
1 changed files with 3 additions and 2 deletions
|
@ -15,8 +15,9 @@ impl Handler<ReceiveValidServerConfig> for Server {
|
||||||
socket_address,
|
socket_address,
|
||||||
server_storage,
|
server_storage,
|
||||||
} = msg.unwrap();
|
} = msg.unwrap();
|
||||||
if let Some(webhook) = self.webhook.take() {
|
// shutdown any existing webhook actor
|
||||||
webhook.do_send(ShutdownWebhook);
|
if let Some(webhook_actor_addr) = self.webhook_actor_addr.take() {
|
||||||
|
webhook_actor_addr.do_send(ShutdownWebhook);
|
||||||
}
|
}
|
||||||
self.generation.inc();
|
self.generation.inc();
|
||||||
// Webhook Server
|
// Webhook Server
|
||||||
|
|
Loading…
Reference in a new issue