1
0
Fork 0
forked from wry/wry

it: test foreign-toplevel-list

This commit is contained in:
Julian Orth 2024-04-02 15:57:41 +02:00
parent 6fe6b1b491
commit a39031d4f9
12 changed files with 276 additions and 18 deletions

View file

@ -1,5 +1,6 @@
use {
crate::{
client::MIN_SERVER_ID,
it::{
test_error::TestError, test_object::TestObject, test_transport::TestTransport,
testrun::ParseFull,
@ -36,7 +37,9 @@ impl TestDisplay {
}
Some(obj) => {
obj.on_remove(&self.tran);
self.tran.obj_ids.borrow_mut().release(ev.id);
if ev.id < MIN_SERVER_ID {
self.tran.obj_ids.borrow_mut().release(ev.id);
}
}
}
Ok(())