zed icon indicating copy to clipboard operation
zed copied to clipboard

[GPUI] [Windows] Panic when opening more than one window

Open MatinAniss opened this issue 10 months ago • 0 comments

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

When opening more than one window using cx.open_window when there is already a open window causes a panic in GPUI.

Panic: thread 'main' panicked at C:\Users\Matin\.cargo\git\checkouts\zed-23861290b5d2093f\ae3c641\crates\gpui\src\platform\windows\window.rs:956:44: already borrowed: BorrowMutError

Environment

Environment details aren't really important since this is a issue in GPUI.

Zed: v0.133.0 (Zed Dev ae3c641bbee2029fb4588d008e45ddb783593622) OS: Windows 10.0.22631 Memory: 31.1 GiB Architecture: x86_64

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

No response

MatinAniss avatar Apr 23 '24 10:04 MatinAniss