# windows: Remove \`SmartGlobal\` \(\#30366\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 89ce49d5b74952d6392432f763897680c4a716e0

Requested commit: 89ce49d5b74952d6392432f763897680c4a716e0

Commit: 89ce49d5b74952d6392432f763897680c4a716e0

Tree: 2429028fdb76d4d4a46dd093602646dccff31525

Author: 张小白

Committer: GitHub

## Message

```
windows: Remove `SmartGlobal` (#30366)

Closes #29657

Using `with_clipboard_data()` to ensure that `GlobalLock` and
`GlobalUnlock` are called correctly.

Release Notes:

- N/A
```

## Parents

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

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