From 2ce5e97efb1ab886207faa8f63f153343ebf38c5 Mon Sep 17 00:00:00 2001 From: xia-chu <771730766@qq.com> Date: Wed, 3 Dec 2025 14:51:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dgil=E7=BA=BF=E7=A8=8B?= =?UTF-8?q?=E5=AE=89=E5=85=A8bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/pyinvoker.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/server/pyinvoker.cpp b/server/pyinvoker.cpp index 7e425382..cee87800 100644 --- a/server/pyinvoker.cpp +++ b/server/pyinvoker.cpp @@ -228,6 +228,7 @@ PythonInvoker::PythonInvoker() { _rel = new py::gil_scoped_release; NoticeCenter::Instance().addListener(this, Broadcast::kBroadcastReloadConfig, [this] (BroadcastReloadConfigArgs) { + py::gil_scoped_acquire guard; if (_on_reload_config) { _on_reload_config(); }