From 694bde36d9569d1a6ab42d5d25dfacf0d8034d64 Mon Sep 17 00:00:00 2001 From: xl Date: Mon, 18 Nov 2024 11:50:13 +0800 Subject: [PATCH] eee --- Abstracts/HotReload.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Abstracts/HotReload.php b/Abstracts/HotReload.php index 1e7747e..532fad6 100644 --- a/Abstracts/HotReload.php +++ b/Abstracts/HotReload.php @@ -85,6 +85,9 @@ class HotReload extends AbstractProcess */ public function reload(): void { + if ($this->reloading) { + return; + } $this->reloading = true; \Kiri::getLogger()->info('reloading server, please waite.');