mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 08:32:07 +02:00
Added reference counter to SERVER_CONNECT_REC. Since it's being moved around
a lot in reconnects etc. this should make it easier to track when it's supposed to be destroyed. Hopefully fixes a crash I assume is related to this but couldn't find.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1880 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
ae1b5b0d50
commit
1256621041
10 changed files with 79 additions and 38 deletions
|
|
@ -15,6 +15,7 @@ typedef struct {
|
|||
SERVER_SETUP_REC *(*create_server_setup) (void);
|
||||
CHANNEL_SETUP_REC *(*create_channel_setup) (void);
|
||||
SERVER_CONNECT_REC *(*create_server_connect) (void);
|
||||
void (*destroy_server_connect) (SERVER_CONNECT_REC *);
|
||||
|
||||
SERVER_REC *(*server_connect) (SERVER_CONNECT_REC *);
|
||||
CHANNEL_REC *(*channel_create) (SERVER_REC *, const char *, int);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue