# Fix seg fault when using the WindowContext::on_window_should_close\(\) API · gitcafe/zed

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

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

Visibility: public

Requested revision: 7ef88397c9a7a8600712af0f142431dd4568c2f2

Requested commit: 7ef88397c9a7a8600712af0f142431dd4568c2f2

Commit: 7ef88397c9a7a8600712af0f142431dd4568c2f2

Tree: cbb893de6d0bed8c8190c5a58f1681cb6d66b5d1

Author: Mikayla

Committer: Mikayla

## Message

```
Fix seg fault when using the WindowContext::on_window_should_close() API

```

## Parents

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

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