mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 7.4.1811
Problem: Netbeans channel gets garbage collected. Solution: Set reference in nb_channel.
This commit is contained in:
@@ -2585,6 +2585,23 @@ netbeans_send_disconnect(void)
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(FEAT_EVAL) || defined(PROTO)
|
||||
int
|
||||
set_ref_in_nb_channel(int copyID)
|
||||
{
|
||||
int abort = FALSE;
|
||||
typval_T tv;
|
||||
|
||||
if (nb_channel != NULL)
|
||||
{
|
||||
tv.v_type = VAR_CHANNEL;
|
||||
tv.vval.v_channel = nb_channel;
|
||||
abort = set_ref_in_item(&tv, copyID, NULL, NULL);
|
||||
}
|
||||
return abort;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(FEAT_GUI_X11) || defined(FEAT_GUI_W32) || defined(PROTO)
|
||||
/*
|
||||
* Tell netbeans that the window was moved or resized.
|
||||
|
Reference in New Issue
Block a user