# Drop window borrow before calling \`makeKeyAndOrderFront\` · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/d4e0f73ffe0b6513322b0bb8f6652c067a97e5a0)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: d4e0f73ffe0b6513322b0bb8f6652c067a97e5a0

Requested commit: d4e0f73ffe0b6513322b0bb8f6652c067a97e5a0

Commit: d4e0f73ffe0b6513322b0bb8f6652c067a97e5a0

Tree: 00c9d4ebfddd9091e6be04039237997d3691fc37

Author: Antonio Scandurra

Committer: Antonio Scandurra

## Message

```
Drop window borrow before calling `makeKeyAndOrderFront`

We're seeing some stack traces where calling `makeKeyAndOrderFront`
could invoke `setFrameSize`, which is causing a double borrow.

```

## Parents

- [b49b11f5af593dd8cfe0991666c1b7048f62c8b6](https://git.cafe/gitcafe/zed/commit/b49b11f5af593dd8cfe0991666c1b7048f62c8b6?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/d4e0f73ffe0b6513322b0bb8f6652c067a97e5a0?format=markdown)
