mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-10 02:09:51 +08:00
fix: pluginMap uses sync.Map to avoid data race
This commit is contained in:
@@ -24,7 +24,7 @@ func removeHashicorpGoPlugin() {
|
||||
log.Info().Msg("[teardown] remove hashicorp go plugin")
|
||||
os.Remove(tmpl("debugtalk.bin"))
|
||||
pluginPath, _ := filepath.Abs(tmpl("debugtalk.bin"))
|
||||
delete(pluginMap, pluginPath)
|
||||
pluginMap.Delete(pluginPath)
|
||||
}
|
||||
|
||||
func buildHashicorpPyPlugin() {
|
||||
|
||||
Reference in New Issue
Block a user