Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release libsass.dll after using #19

Closed
DonSleza4e opened this issue Sep 26, 2017 · 1 comment
Closed

Release libsass.dll after using #19

DonSleza4e opened this issue Sep 26, 2017 · 1 comment

Comments

@DonSleza4e
Copy link

Hi
Is there any way to release libsass.dll after compiling sass file?

I'm using very basic implementation at BundleConfig.cs:

CompilationResult sass_result = SassCompiler.CompileFile(State.Server.MapPath("~ /Content/test.scss"));          
System.IO.File.WriteAllText(System.Web.Hosting.HostingEnvironment.MapPath("~/Content/test.css"), sass_result.CompiledContent);

After launching site, IIS always locks libsass.dll (LibSassHost.Native.win-x86) until I stop worker process.
I didn't notice any 'Release' method to resolve this issue, assigning "null" to sass_result does not helps.
How I can avoid this?
Thank you!

@Taritsyn
Copy link
Owner

Hello!

I already answered a similar question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants