abiosoft / ishell

Library for creating interactive cli applications.
MIT License
1.68k stars 195 forks source link

Fix: make ishell context values safe to use concurrently #151

Closed yunginnanet closed 7 months ago

yunginnanet commented 1 year ago

Maps are not safe to access concurrently, here we add a mutex to avoid concurrent read/write panics in ishell context values.

yunginnanet commented 7 months ago

defer -> https://github.com/abiosoft/ishell/pull/152