# Fix gpui2 bugs · gitcafe/zed

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

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

Visibility: public

Requested revision: 8bc20714144f04d64815825036df62443fa3d991

Requested commit: 8bc20714144f04d64815825036df62443fa3d991

Commit: 8bc20714144f04d64815825036df62443fa3d991

Tree: 5c983c26360cecbc1786cd3fe5c9f6f0ade186b5

Author: Max Brunsfeld

Committer: Max Brunsfeld

## Message

```
Fix gpui2 bugs

* Compile error for tests that take StdRng
* Dynamic type dowcasting error when emitting events
* Slot error when dropping handles

Co-authored-by: Conrad <conrad@zed.dev>

```

## Parents

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

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