dev: add comments for noting

This commit is contained in:
Myriad-Dreamin 2024-03-11 11:59:33 +08:00
parent e6d5c7e048
commit d44188eae1

View file

@ -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());