Mercurial > vim
view ci/setup-xvfb.sh @ 23865:e1643a1aa1a0 v8.2.2474
patch 8.2.2474: using freed memory when window is closed by autocommand
Commit: https://github.com/vim/vim/commit/2c7080bf1ceef4a7779644fd428b2386a0676794
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 6 19:19:42 2021 +0100
patch 8.2.2474: using freed memory when window is closed by autocommand
Problem: Using freed memory when window is closed by autocommand.
(houyunsong)
Solution: Check the window pointer is still valid.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 06 Feb 2021 19:30:04 +0100 |
parents | 1984a3fcc953 |
children |
line wrap: on
line source
#!/bin/bash set -e apt-get install -y xvfb cat <<EOT >/etc/systemd/system/xvfb.service [Unit] Description=X Virtual Frame Buffer Service After=network.target [Service] ExecStart=/usr/bin/Xvfb :99 -screen 0 1024x768x24 [Install] WantedBy=multi-user.target EOT systemctl enable xvfb.service systemctl start xvfb.service