mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-08-03 09:52:27 +00:00
dev: add comments for noting
This commit is contained in:
parent
e6d5c7e048
commit
d44188eae1
1 changed files with 3 additions and 0 deletions
|
@ -105,6 +105,9 @@ pub fn create_server(
|
|||
|
||||
let (server, client) = driver.split();
|
||||
|
||||
// We do send memory changes instead of initializing compiler with them.
|
||||
// This is because there are state recorded inside of the compiler actor, and we
|
||||
// must update them.
|
||||
client.add_memory_changes(MemoryEvent::Update(snapshot));
|
||||
current_runtime.spawn(server.spawn());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue