# \#Tip

**URL:** https://community.interop.io/tag/tip/38.md

[Latest](https://community.interop.io/latest.md) · [Categories](https://community.interop.io/categories.md) · [Tags](https://community.interop.io/tags.md)

---

## [Orphaned Windows After Removing Apps via In-Memory Import with Replace Mode](https://community.interop.io/t/orphaned-windows-after-removing-apps-via-in-memory-import-with-replace-mode/612)

<div class="topic-metadata">

**Author:** [@toni.petrov](https://community.interop.io/u/toni.petrov)\
**Replies:** 0\
**Last updated:** [June 26, 2026, 8:42am UTC](https://community.interop.io/t/orphaned-windows-after-removing-apps-via-in-memory-import-with-replace-mode/612 "2026-06-26T08:42:48Z")

</div>

Problem When using io.appManager.inMemory.import() with 'replace' mode to dynamically swap app definitions, if the new set of definitions does not include a previously running app, the app instance is removed from the Ap…
