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
|
|
@ -52,9 +52,6 @@ impl Glycin {
|
|||
let mut loader = glycin::Loader::new(file);
|
||||
loader.apply_transformations(false);
|
||||
|
||||
#[cfg(feature = "disable-glycin-sandbox")]
|
||||
loader.sandbox_mechanism(Some(glycin::SandboxMechanism::NotSandboxed));
|
||||
|
||||
loader.cancellable(cancellable_);
|
||||
|
||||
let image = loader.load().await?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue