Merge pull request #42 from artem-nefedov/master

Added "automatic garbage collector" way
This commit is contained in:
Luke Stephens (hakluke) 2019-10-03 08:10:02 +10:00 committed by GitHub
commit 929fd07b38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.