Occasional Problem: Application::update
AnsweredOccasional Problem
New construction;
Adding void main again.cpp,
kanzi: : Application::updateOverride (chrono::milliseconds deltaTime)
or
void Kanzi::Application::onUpdate (chrono::milliseconds deltaTime),
and inside the log output, there will be a period of time after the restart did not print the log.
Why are the two functions above not invoked?
The two functions inherite from:
void kanzi::Application::update (chrono::milliseconds deltaTime)
Does this mean the update function is not called?
-
One reason could be that Application is in idle state. You may find more details about it in the documentation page here.
Other than that, there could be some function call that blocks the main thread from executing, like graphics driver hanging on an OpenGL or windowing system call, or any other application logic. If that is the case, then you will need to debug the application and understand where the hang occurs.0
Please sign in to leave a comment.
Comments
1 comment