[geany/geany-plugins] 4c4bcb: Auto-close: fix possible crash at exit