Crash on quit after opening new document

Summary:

Just found a way to crash Inkscape if opening new documents and quitting quickly.

Steps to reproduce:

  1. Open Inkscape.
  2. Ctrl+N to open a new document.
  3. While 'new document 2' is opening, hit 'Ctrl+Q' to quit.

What happened?

Inkscape crashes.

What should have happened?

No crash.

Backtrace that I was able to get: inkscape_backtrace.txt

Version info

Inkscape 1.2-dev (b40ec94, 2021-08-25) x64
Windows 7 SP1 x64
Edited by rickmastfan67