Unloading httpuv should stop all servers

Aperta
#226 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
c, r

Direzione di ricerca

Start by locating the package unload path and the code that owns running servers; the issue names no files or tests. Reproduce the Windows/RStudio Install and Restart scenario, then verify that unloading stops all servers, waits briefly, and terminates any that remain so the DLL can be replaced.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

When the httpuv packages is unloaded, it should stop all running servers, wait a little while for them to stop, and then terminate them if necessary (so that background thread will stop).

This issue shows itself when, on Windows, a server is running, and then in RStudio, you run Install and Restart. RStudio calls .rs.forceUnloadPackage(), which unloads the package in the R process, but the DLL stays loaded because of the running code, and the installation fails because the DLL can't be replaced.

Lingua principale
C
Stelle
252
Fork
87
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di rstudio/httpuv

Tutte le issue di rstudio/httpuv

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.