Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1293894

Browse filesBrowse files
committed
Reacquire GIL to create the python string object
Thanks to Dieter Koessl for reporting. https://sourceforge.net/p/npppythonscript/discussion/1188885/thread/566ac7bf/#ca2a
1 parent 44da0b5 commit 1293894
Copy full SHA for 1293894

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎PythonScript/src/NotepadPlusWrapper.cpp‎

Copy file name to clipboardExpand all lines: PythonScript/src/NotepadPlusWrapper.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ boost::python::object NotepadPlusWrapper::prompt(boost::python::object promptObj
706706
GILRelease release;
707707
result = promptDlg.showPrompt(cPrompt, cTitle, cInitial);
708708

709-
709+
release.reacquire();
710710
if (PromptDialog::RESULT_OK == result)
711711
{
712712
return boost::python::str(promptDlg.getText());

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.