# Flow Keeps Running After Delete. I can't stop it

**URL:** <https://discourse.nodered.org/t/flow-keeps-running-after-delete-i-cant-stop-it/35896>\
**Category:** General\
**Created:** [14 November 2020 02:14 UTC](https://discourse.nodered.org/t/flow-keeps-running-after-delete-i-cant-stop-it/35896 "2020-11-14T02:14:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidmarch](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@davidmarch](https://discourse.nodered.org/u/davidmarch)\
**Post date:** [14 November 2020 02:14 UTC](https://discourse.nodered.org/t/flow-keeps-running-after-delete-i-cant-stop-it/35896/1 "2020-11-14T02:14:20Z")

</div>

I created a flow to test something and then deleted it. But every time I restart node-red, this deleted flow is running. However, there is no tab for the flow. It is as if it is running in the background. How do I stop it? I looked at the flows JSON file and it is listed in there (tracked it by the ID from the debug) but it says it is saved as a file. Which I found and deleted the file. I restarted and again there it is running. Please help anyone.  
Thanks  
Dave

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [14 November 2020 07:13 UTC](https://discourse.nodered.org/t/flow-keeps-running-after-delete-i-cant-stop-it/35896/2 "2020-11-14T07:13:10Z")

</div>

I think if you upgrade to the latest version of node red it should recover the invisible flows and allow you to delete them properly.  
Edit: first check in Configuration Nodes from the hamburger menu whether you have any unused config nodes there. Delete them if you do.

---

<div class="post-metadata">

**Author:** ![davidmarch](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@davidmarch](https://discourse.nodered.org/u/davidmarch)\
**Post date:** [14 November 2020 21:38 UTC](https://discourse.nodered.org/t/flow-keeps-running-after-delete-i-cant-stop-it/35896/3 "2020-11-14T21:38:13Z")

</div>

Thank you. Thanks to another posting on a running flow, I found that one of my disabled flows had not been deployed as disabled and was still running.  
Appreciate the help.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [13 January 2021 21:38 UTC](https://discourse.nodered.org/t/flow-keeps-running-after-delete-i-cant-stop-it/35896/4 "2021-01-13T21:38:22Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
