Skip to main content

Custom Plugin Preview Error

Answered

Comments

1 comment

  • Jason Stanczyk

    This assertion indicates that a ResourceManager functionality is triggered on a worker thread instead of Kanzi's main thread. Kanzi API is not thread safe and should not be called from other threads. Instead, you can submit a task to main thread using TaskDispatcher::submit function. It could be that message received handler is running on a worker thread and it creates or acquires a resource. 
     
    Assertions are only triggered on debug builds so I assume you are running debug configuration of Preview. If you are only running the release build of the application executable, that might explain why it is only triggered on Preview and not on executable.

    0

Please sign in to leave a comment.