Closed amandeepgini closed 1 year ago
Looks like macOS enforces that all UI-related operations be performed in the main thread. This is because the main thread is the only thread that has access to the user interface. This could be the problem.
It is not the issue with Pangolin Library, it is the issue with MacOS. On MacOS, UI-related operations have to be performed in the main thread. This is because the main thread is the only thread that has access to the user interface.
Hello,
I'm currently using the Pangolin library as part of an ORB_SLAM2 project on macOS. When I run my application, it terminates with an NSInternalInconsistencyException, stating that nextEventMatchingMask should only be called from the Main Thread!
Here is the stack trace for the exception: