Use ConcurrentBag<T> instead of volatile List<T> #14
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
e.g. in
public static volatile List<string> messageQueue = new();
public static volatile List<string> missedMessages = new();
Hmmm, volatile might still be required, and the locks as well. Seems to be more pain than it's worth.