Use glycin devel env auto detection
We don't need to disable the sandbox for development environments manually anymore. Glycin should take care of that now.
This commit is contained in:
parent
ae74411983
commit
1b70686105
9 changed files with 9 additions and 32 deletions
|
|
@ -58,9 +58,7 @@ impl Queue {
|
|||
async fn apply(&self, image: LpImage) -> anyhow::Result<()> {
|
||||
let file = image.file().unwrap();
|
||||
#[allow(unused_mut)]
|
||||
let mut editor = glycin::Editor::new(file.clone());
|
||||
#[cfg(feature = "disable-glycin-sandbox")]
|
||||
editor.sandbox_mechanism(Some(glycin::SandboxMechanism::NotSandboxed));
|
||||
let editor = glycin::Editor::new(file.clone());
|
||||
|
||||
let mut list = Vec::new();
|
||||
self.operations.rcu(|current_operations| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue