This commit is contained in:
Ali Almasi 2023-11-30 19:34:34 +03:30 committed by GitHub
commit 7c9d47c4a3
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