mirror of
https://github.com/status-im/status-go.git
synced 2025-02-22 11:48:31 +00:00
There were cases where this caused a crash, as handling magnetlinks would try to close an already closed tasked channel See https://github.com/status-im/status-desktop/issues/8996 for more information. This commit extends the task struct such that it can be marked as cancelled and safely read and written by multiple go routines.