# Fix circular locking in prompts · gitcafe/zed

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

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

Visibility: public

Requested revision: 249a6da54a10228d2f77119486d4042631ab10c4

Requested commit: 249a6da54a10228d2f77119486d4042631ab10c4

Commit: 249a6da54a10228d2f77119486d4042631ab10c4

Tree: 3e4913f4081bb334841b37ddbe2f5994c67d8eb0

Author: Conrad Irwin

Committer: Conrad Irwin

## Message

```
Fix circular locking in prompts

Sometimes Cocoa calls app delegate methods (notably the display link)
while we're calling Cocoa methods. This causes a deadlock unless we
are careful to run cocao methods while we're not holding our internal
locks

```

## Parents

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

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