Patch 7.4.1501
Problem:    Garbage collection with an option channel is not tested.
Solution:   Call garbagecollect() in the test.
Files:      src/testdir/test_channel.vim


*** ../vim-7.4.1500/src/testdir/test_channel.vim        2016-03-05 
20:54:28.216563776 +0100
--- src/testdir/test_channel.vim        2016-03-06 16:23:36.376248233 +0100
***************
*** 146,151 ****
--- 146,154 ----
    endif
    call assert_equal('got it', s:responseMsg)
  
+   " Collect garbage, tests that our handle isn't collected.
+   call garbagecollect()
+ 
    " check setting options (without testing the effect)
    call ch_setoptions(handle, {'callback': 's:NotUsed'})
    call ch_setoptions(handle, {'timeout': 1111})
*** ../vim-7.4.1500/src/version.c       2016-03-06 14:58:24.041667964 +0100
--- src/version.c       2016-03-06 16:37:30.275608465 +0100
***************
*** 745,746 ****
--- 745,748 ----
  {   /* Add new patch number below this line */
+ /**/
+     1501,
  /**/

-- 
Engineers understand that their appearance only bothers other people and
therefore it is not worth optimizing.
                                (Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui