From 15de5df5fac2afa15028c6d88d8819e485c85acd Mon Sep 17 00:00:00 2001 From: tiger_zhou Date: Thu, 25 Jan 2024 10:57:34 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9B=B7=E8=BE=BE=E5=8F=91=E9=80=81=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- third_party/radar/radar_vobc.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/third_party/radar/radar_vobc.go b/third_party/radar/radar_vobc.go index 8a288e7..8f8042e 100644 --- a/third_party/radar/radar_vobc.go +++ b/third_party/radar/radar_vobc.go @@ -32,9 +32,7 @@ var ( ) func Default() RadarVobc { - defer func() { - initLock.Unlock() - }() + defer initLock.Unlock() initLock.Lock() if _radar == nil { _radar = &radarVobc{}