Fix panic in remove_item (#21480)
In #20742 we added a call to remove_item that retain an item index over an await point. This led to a race condition that could panic if another tab was removed during that time. (cc @mgsloan) This changes the API to make it harder to misuse. Release Notes: - Fixed a panic when closing tabs containing new unsaved files
C
Conrad Irwin committed
b28287ce9137602957620b72aa6988a56b081de5
Parent: 492ca21
Committed by GitHub <noreply@github.com>
on 12/3/2024, 8:09:53 PM