It is just a shortened example to illustrate the bug. Just imagine the struct is not meant to be sendable because it contains a reference to a class object. Or make the struct a class. The bug is still the same.
It is just a shortened example to illustrate the bug. Just imagine the struct is not meant to be sendable because it contains a reference to a class object. Or make the struct a class. The bug is still the same.