Some App tests leave closed windows alive after GC
Los mantenedores suelen responder en 1 día
@SeoJCalive ya está trabajando en esto.
Desde el 27/10/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Follow-up from #540 / #636.
While measuring #540 (full App run on Linux, f80ecb74, before #636, with my measuring hooks: a GC every 30 s and a count of live windows), windows that tests had already closed were still alive after a GC:
- Up to 44 closed windows were still alive after a GC; at 4620 s, 44 of the 49 live windows had already been closed. Windows alive after a GC, open ones included, peaked at 62.
- The working set rose from 345 MB to about 760 MB in the first ~21 min, then stayed between 742 and 929 MB until the end.
- Run on their own 40 times, the main window and the close dialog were released after GC, so it isn't those two by themselves. I don't know yet which tests leave windows behind.
Since #636 this no longer costs much time, but the windows still hold memory, and it is worth knowing whether the app itself can keep a closed window alive.
What I'd do:
- Find the tests: after each test, run a GC and record which closed windows are still alive, over a full App run.
- Find what holds them: for those tests, check what keeps the window reachable (an event subscription, a service or view model, a test helper).
- Report before fixing: post the results here first, including whether the same thing can happen in the app or only in the tests, and then decide the fix.
- Lenguaje dominante
- C#
- Estrellas
- 3.6k
- Forks
- 192
- Merge medio
- 7 h 42 min
- PR fusionados (30 d)
- 272
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de KnifeLemon/Filee
-
[Bug] Interactive toggle inside Theme preview card is completely unresponsive in SettingsPosiblemente ocupada @Saad-elnagar la tomó hace 5 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
KnifeLemon/Filee#363 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Setup publishes its strings one key at a timePosiblemente ocupada @SeoJCalive la tomó hoy. Abiertobuild
KnifeLemon/Filee#667 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
[Feature]: Compressing any image to the desired size in KB or MB according to your requirements.Abiertoenhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
KnifeLemon/Filee#662 ·
Los mantenedores suelen responder en 1 día
-
[Format]: .m4sAbiertoformats question
Dificultad 3/5 1-2 días Aptitud para principiantes 56/100
KnifeLemon/Filee#659 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Format]: .afAbiertoformats
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
KnifeLemon/Filee#656 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de KnifeLemon/Filee
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 1 día
-
:watch: Not Triaged advanced-concepts/subsvc dotnet-csharp/svc
Dificultad 1/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
enhancement no-stack-trace
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
greenshot/greenshot#1618 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
microsoft/aspire.dev#1962 ·
Los mantenedores suelen responder en 1 día
-
needs-area-label
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 1 día