Bind beacon server only once
This commit is contained in:
parent
b7c65c877d
commit
e770804435
3 changed files with 22 additions and 21 deletions
|
|
@ -84,6 +84,12 @@ mod internal {
|
|||
.stdout(process::Stdio::null())
|
||||
.stderr(process::Stdio::null())
|
||||
.spawn();
|
||||
|
||||
if let Some(palette) =
|
||||
LAST_PALETTE.read().expect("Read last palette").as_ref()
|
||||
{
|
||||
BEACON.log(client::Event::ThemeChanged(*palette));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue