mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-11 07:02:44 +09:00
When updateDiffSync() is called asynchronously, it should lock the line array when calling Bytes(), to prevent race if the line array is being modified by the main goroutine in the meantime.