mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 14:26:39 +02:00
A flag "closing" has been added in buffers. It is set to 1 when the buffer is closing, and then no more printf is allowed in the buffer (a message printed on relay buffer was causing a crash when it is closed).
This commit is contained in:
@@ -109,6 +109,7 @@ struct t_gui_buffer
|
||||
int (*close_callback)(void *data, /* called when buffer is closed */
|
||||
struct t_gui_buffer *buffer);
|
||||
void *close_callback_data; /* data for callback */
|
||||
int closing; /* 1 if the buffer is being closed */
|
||||
|
||||
/* buffer title */
|
||||
char *title; /* buffer title */
|
||||
|
||||
Reference in New Issue
Block a user