Actions
Bug #19367
closed
Issue with ractor local storage API
Description
In a non-main ractor, you can do Ractor.main[:key] = 'val', but it only affects storage for Ractor.current, not Ractor.main (which is good!).
I think it should throw a RuntimeError if trying to get/set ractor-local storage for non-current ractor.
Patch coming.
Updated by luke-gru (Luke Gruber) over 2 years ago
Updated by hsbt (Hiroshi SHIBATA) over 2 years ago
- Status changed from Open to Assigned
- Assignee set to ko1 (Koichi Sasada)
Updated by jhawthorn (John Hawthorn) about 1 month ago
- Assignee changed from ko1 (Koichi Sasada) to ractor
Updated by luke-gru (Luke Gruber) about 1 month ago
- Status changed from Assigned to Closed
Applied in changeset git|c941fced211c7472d6a61e7469b70282ac506ea6.
Throw RuntimeError if getting/setting ractor local storage for non-main ractor
[Bug #19367]
Actions
Like0
Like0Like0Like0Like0