mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Fix race in the tests
This commit is contained in:
parent
f7df0b56a7
commit
12297ab675
3 changed files with 11 additions and 2 deletions
|
@ -83,9 +83,10 @@ pub fn project(fixture: &str) -> Server {
|
|||
pub struct Server {
|
||||
req_id: Cell<u64>,
|
||||
messages: RefCell<Vec<Message>>,
|
||||
dir: TempDir,
|
||||
_thread: jod_thread::JoinHandle<()>,
|
||||
client: Connection,
|
||||
/// XXX: remove the tempdir last
|
||||
dir: TempDir,
|
||||
}
|
||||
|
||||
impl Server {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue