diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-07-26 09:52:10 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-07-26 09:52:10 +0900 |
commit | 511f487dd1dcdf836d15a231293189aaf0dbf528 (patch) | |
tree | 10fe5924b49c76df9d7f051698abb0402222edc8 /server/mrt.go | |
parent | 6bf07e5c0f83e9b879d85436844def9aab36e28d (diff) |
clone Paths before notifying watchers
Path object has data (map, slice) that mutiple goroutines can't
access. So needs to clone them before passing them to wathers.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'server/mrt.go')
0 files changed, 0 insertions, 0 deletions