# Don't hold platform lock while calling user callbacks · gitcafe/zed

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

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

Visibility: public

Requested revision: a8b8be47e065475c350f539918ac4aff9be9b4e9

Requested commit: a8b8be47e065475c350f539918ac4aff9be9b4e9

Commit: a8b8be47e065475c350f539918ac4aff9be9b4e9

Tree: 59a08c2c217af87a40f2754bedc12e4f25d41d64

Author: Conrad Irwin

Committer: Conrad Irwin

## Message

```
Don't hold platform lock while calling user callbacks

Inspired by a bug where using Edit -> Copy from the menu created a
deadlock.

```

## Parents

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

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