PawKanarek/Primes

[Crash] Object is currently in use elsewhere.

kcrg opened this issue ยท 1 comments

kcrg commented

Description

Window resizing may cause crash

Steps to Reproduce

  1. Open app
  2. Resize to max width
  3. ๐Ÿ’ฅ๐Ÿ’ฅ๐Ÿ’ฅ๐Ÿ’ฅ๐Ÿ’ฅ

Expected Behavior

no ๐Ÿ’ฅ

Actual Behavior

๐Ÿ’ฅ

Screenshots

1

Stacktrace

Drawing cancelled from
Exception thrown: 'System.OperationCanceledException' in System.Private.CoreLib.dll
Drawing cancelled from
Exception thrown: 'System.InvalidOperationException' in System.Drawing.Common.dll
An exception of type 'System.InvalidOperationException' occurred in System.Drawing.Common.dll but was not handled in user code
Object is currently in use elsewhere.

The thread 0xb5c has exited with code 0 (0x0).
Exception thrown: 'System.OperationCanceledException' in System.Private.CoreLib.dll
Drawing cancelled from
Exception thrown: 'System.InvalidOperationException' in System.Private.CoreLib.dll
An exception of type 'System.InvalidOperationException' occurred in System.Private.CoreLib.dll but was not handled in user code
**Object is currently in use elsewhere.**

With OpenTK problem won't appear