portal: start portal automatically with compositor
This commit is contained in:
parent
39d1e49672
commit
4d6f226254
14 changed files with 331 additions and 125 deletions
|
|
@ -88,11 +88,10 @@ impl JayCompositor {
|
|||
let log_file = Rc::new(JayLogFile::new(req.id, &self.client));
|
||||
track!(self.client, log_file);
|
||||
self.client.add_client_obj(&log_file)?;
|
||||
let path = match &self.client.state.logger {
|
||||
Some(logger) => logger.path(),
|
||||
_ => "".as_bytes().as_bstr(),
|
||||
match &self.client.state.logger {
|
||||
Some(logger) => log_file.send_path(logger.path().as_bstr()),
|
||||
_ => log_file.send_path(b"".as_bstr()),
|
||||
};
|
||||
log_file.send_path(path);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue