# Retain run loop \(\#11241\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6b55a6f0e1dec0c0c781d78ce2dc5497ece3f826

Requested commit: 6b55a6f0e1dec0c0c781d78ce2dc5497ece3f826

Commit: 6b55a6f0e1dec0c0c781d78ce2dc5497ece3f826

Tree: 0437c194a48b31c61527e1e6bbfb8507b6907c05

Author: Conrad Irwin

Committer: GitHub

## Message

```
Retain run loop (#11241)

Contributes: #11168


https://developer.apple.com/documentation/corefoundation/1542428-cfrunloopgetcurrent
implies that we should be `CFRetain`ing the run loop.

Lets do that, and see if it reduces the number of crashes we see.

Release Notes:

- (maybe) Fix a rare crash in watching settings files.
```

## Parents

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

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