Added "automatic garbage collector" way

This commit is contained in:
nefedov 2019-10-02 19:50:40 +03:00
parent a938a27524
commit 2c2548100e

View file

@ -295,3 +295,18 @@ Credit: @maxattax97
```
:while 1 | execute "terminal vim" | call feedkeys("i:terminal vim\<CR>") | endwhile
```
## Let "automatic garbage collector" do it for you
Credit: @artem-nefedov
Much like your favorite programming language, your OS has built-in garbage collector.
It will close stuff for you, so you don't have to.
```
^Z
$ disown
```
Now it's not your problem anymore.
Process will close automatically upon next reboot/shutdown.