You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Date.now() sometimes return null and crashes the entire software
To Reproduce
repeatedly call Date.now() in a long time span and it might happen. It happened twice on me, one time when debugging in Visual Studio and the other time while running without a debugger attached.
Expected behavior
Date.now() working as expected
Additional context
.NET 8.0 WPF software on Windows 11 Workstation Edition
The text was updated successfully, but these errors were encountered:
@LovelyA72 don't declare a static or share and instance of Engine. Or if you do call Execute on a shared instance (because you need to evolve its state) then lock these usages.
I used lock on all those usages, also I (should probably do this earlier) wrapped all the script executions with try catch. Everything seems fine now. Thank you!
Version used
4.1.0
Describe the bug
Date.now() sometimes return null and crashes the entire software
To Reproduce
repeatedly call Date.now() in a long time span and it might happen. It happened twice on me, one time when debugging in Visual Studio and the other time while running without a debugger attached.
Expected behavior
Date.now() working as expected
Additional context
.NET 8.0 WPF software on Windows 11 Workstation Edition
The text was updated successfully, but these errors were encountered: