Suppress the 'Agent Thread Started' event when initializing the panel (#38535)

Release Notes:

- N/A
This commit is contained in:
Mikayla Maki
2025-09-19 22:55:32 +00:00
committed by GitHub
parent 89520ea221
commit 8df616e28b
2 changed files with 22 additions and 1 deletions
+14
View File
@@ -2401,6 +2401,20 @@ impl<'a, T: 'static> std::borrow::BorrowMut<T> for GpuiBorrow<'a, T> {
}
}
impl<'a, T: 'static> std::ops::Deref for GpuiBorrow<'a, T> {
type Target = T;
fn deref(&self) -> &Self::Target {
self.inner.as_ref().unwrap()
}
}
impl<'a, T: 'static> std::ops::DerefMut for GpuiBorrow<'a, T> {
fn deref_mut(&mut self) -> &mut T {
self.inner.as_mut().unwrap()
}
}
impl<'a, T> Drop for GpuiBorrow<'a, T> {
fn drop(&mut self) {
let lease = self.inner.take().unwrap();