Skip to content

laufey_webview.exe needs to be force closed between each deno desktop --hmr or deno run #36500

Description

@Gambloide

Version: Deno 2.9.5

Issue:
laufey_webview.exe doesn't stop when a deno application built from source is stopped on Windows 11, causing subsequent runs to fail, because it locks access to the compiled cached files in AppData.

Steps to Reproduce

  1. be on a plain Windows 11 installation
  2. create a folder, e.g. named "test"
  3. create a file called "main.ts" in "test"
  4. add the line console.log("test"); in the file
  5. navigate into the folder in powershell
  6. run deno run main.ts
  7. stop the application via CTRL+C after you see the log message in powershell, since there is no other means to do so
  8. run deno dektop --hmr again, notice you will get an access denied error when deno tries to access the .dll file it created during the initial run in AppData
  9. kill the laufey_webview process, e.g. via Taskmanager
  10. run deno run main.ts again, notice how it runs properly again

The same behavior can be observed by using https://github.com/bartlomieju/denidian and it's intended launch commands from source instead of our own minimal reproduction.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working correctlydesktop

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions