Skip to content

Commit ec485c1

Browse files
committed
TPythonTread.Execute should be protected.
1 parent b402379 commit ec485c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/PythonEngine.pas

+1-1
Original file line numberDiff line numberDiff line change
@@ -2906,9 +2906,9 @@ TPythonThread = class(TThread)
29062906
private class threadvar
29072907
f_savethreadstate: PPyThreadState;
29082908

2909+
protected
29092910
// Do not overwrite Execute! Use ExecuteWithPython instead!
29102911
procedure Execute; override;
2911-
protected
29122912
procedure ExecuteWithPython; virtual; abstract;
29132913
function InterpreterConfig: PyInterpreterConfig; virtual;
29142914
public

0 commit comments

Comments
 (0)