luakit-git: remove patch, fixed upstream

This commit is contained in:
Yorick Hardy 2020-12-24 09:38:59 +02:00
parent 10e1f9dc46
commit 10f4e82273
2 changed files with 0 additions and 29 deletions

View File

@ -5,4 +5,3 @@ RMD160 (luakit/2aecefe95c99808121edbf3903c3947779f8c4d4-2aecefe95c99808121edbf39
SHA512 (luakit/2aecefe95c99808121edbf3903c3947779f8c4d4-2aecefe95c99808121edbf3903c3947779f8c4d4.zip) = f493fde91e87b8bd40f3a90b558c4d297ed31bc00e6924660a5c1fa55aa35bfd2eb7c8a6a7ea1d6b9ef7d095d358659d350ca92fbc6f654a9df9a1544ce30fdf
Size (luakit/2aecefe95c99808121edbf3903c3947779f8c4d4-2aecefe95c99808121edbf3903c3947779f8c4d4.zip) = 518360 bytes
SHA1 (patch-Makefile) = d45f31061ea5d5bcf5ed6d63fcea41590003e10b
SHA1 (patch-common_ipc.c) = 0b45f8ecacbf7f94fe6913826944afdf80279c9d

View File

@ -1,28 +0,0 @@
$NetBSD$
Fix for #725: luakit get stuck and start using all the CPU when closing the last
tab when window.close_with_last_tab setting is false.
From:
<https://github.com/luakit/luakit/pull/862>
--- common/ipc.c.orig 2020-07-21 22:24:57.000000000 +0000
+++ common/ipc.c
@@ -21,6 +21,7 @@
#include "common/lualib.h"
#include "common/luaserialize.h"
#include "common/ipc.h"
+#include "log.h"
/* Prototypes for ipc_recv_... functions */
#define X(name) void ipc_recv_##name(ipc_endpoint_t *ipc, const void *msg, guint length);
@@ -138,6 +139,8 @@ ipc_recv_and_dispatch_or_enqueue(ipc_end
case G_IO_STATUS_AGAIN:
return;
case G_IO_STATUS_EOF:
+ verbose("g_io_channel_read_chars(): End Of File received");
+ g_atomic_int_dec_and_test(&ipc->refcount);
return;
case G_IO_STATUS_ERROR:
if (!g_str_equal(ipc->name, "UI"))