glfwPollEvents() crashes for unknown reason

Hi,

i have an other problem with my project. I did nothing to OpenGL, just to my data analyse and even this did not change anything about the data given to OGL. there are just a few things checked and decided instead of hardcoded. But for some reason glfwPollEvents(); now crashes.

I hope you can help me with this problem. You can get my whole code at https://github.com/GT-Anakin/MshViewer
I jumped to the previous commit and it works. So if i may can ask you to take a look at https://github.com/GT-Anakin/MshViewer/commit/c0a84c75131e39f5b3fb1de46ef627251c5c4fef These are the changes causing a crash in the update() function when calling glfwPollEvents();

==EDIT==
ignore it, i got it. i’m so stupid :doh:

So what was the problem?