# Ensure we drop the last pane item · gitcafe/zed

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

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

Visibility: public

Requested revision: 4f4364d5105fb895578b03840782986dec29542b

Requested commit: 4f4364d5105fb895578b03840782986dec29542b

Commit: 4f4364d5105fb895578b03840782986dec29542b

Tree: df286212f0bd9e7ac8204e628c120c495a9d64b1

Author: Nathan Sobo

Committer: Nathan Sobo

## Message

```
Ensure we drop the last pane item

Previously, we weren't updating the toolbar's active item when emptying out a pane. This enhances an integration test to ensure that we don't hold references to any editors or buffers once we close everything.

```

## Parents

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

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