From 51fc5ed28d2ff323bf4b4dde6514e9ac3e4b8934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zg=C3=BCr=20Kesim?= Date: Thu, 17 Nov 2022 14:33:09 +0100 Subject: [PATCH] fix loop variable usage --- GetRuntimeAddresses/symbolyze/symbolyze.go | 1 + 1 file changed, 1 insertion(+) diff --git a/GetRuntimeAddresses/symbolyze/symbolyze.go b/GetRuntimeAddresses/symbolyze/symbolyze.go index 4710f94..c4d7559 100644 --- a/GetRuntimeAddresses/symbolyze/symbolyze.go +++ b/GetRuntimeAddresses/symbolyze/symbolyze.go @@ -202,6 +202,7 @@ func (S *Scanner) Run() error { wg.Add(len(S.observers)) // Wait for this many goroutines go func() { for n, observer := range S.observers { + observer := observer go func() { err = observer(pid, offset) if err != nil {