This commit is contained in:
Ali Almasi 2023-12-20 08:28:20 -07:00 committed by GitHub
commit ed82e1a2c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -831,3 +831,11 @@ echo "pub fn main() !noreturn { unreachable; }" > vimkill.zig; zig build-exe vim
```
This eventually [exhausts memory](https://github.com/ziglang/zig/issues/3461) on the machine which gives the OOM killer a chance to kill vim.
## The simplest and most logical way (only for desktop users)
Credit: @AliAlmasi
I assume with the image below, there won't be any explanations needed.
![](assets/unplug-the-power-cable-from-the-wall.webp)

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB