forked from pythonnet/pythonnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do not dispose the iterable until wrapper is disposed
e.g. when a python list is passed to ui listbox, it will hold a reference to the iterator instance. it works when it iterates the first time but it crashes on later iterations since the iterator gets disposed on first iteration
- Loading branch information
1 parent
1287b19
commit cc03d51
Showing
1 changed file
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters