Cannot send events to objects owned by a different thread. Current thread 0x0x1ec78068. Receiver
时间: 2023-09-21 18:11:42 浏览: 234
0x0x1ec78068.
This error message indicates that the current thread is trying to send events to objects that are owned by a different thread. In other words, the thread that the objects belong to is not the same as the thread that is currently running.
This can happen when there are multiple threads in a program and they are accessing the same objects. It is important to ensure that each thread only accesses objects that it owns, to avoid conflicts and errors like this one.
To resolve this issue, you can try to synchronize access to the objects by using locks or other synchronization mechanisms. Alternatively, you may need to redesign your program to avoid sharing objects across multiple threads.
阅读全文