- Notifications
You must be signed in to change notification settings - Fork753
Commit1fd6dc2
committed
fixed crash in finalizer of CLR types defined in Python, that survive engine shutdown
#1256#1256During engine shutdown all links from Python to .NET instances are severed. If an instance of CLR class defined in Python survives the shutdown (for example, a reference is stored in static field) and later gets finalized, it will attempt to severe link again, which is an invalid operation.The fix is to check if the link has already been severed and skip that step during finalization.1 parent44a36dc commit1fd6dc2
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
857 | 857 |
| |
858 | 858 |
| |
859 | 859 |
| |
860 |
| - | |
| 860 | + | |
861 | 861 |
| |
862 | 862 |
| |
863 | 863 |
| |
| |||
872 | 872 |
| |
873 | 873 |
| |
874 | 874 |
| |
875 |
| - | |
| 875 | + | |
876 | 876 |
| |
877 | 877 |
| |
878 | 878 |
| |
|
0 commit comments
Comments
(0)