- Notifications
You must be signed in to change notification settings - Fork749
Commite2ab3ae
authored
fixed crash in finalizer of CLR types defined in Python, that survive engine shutdown (#1260)
#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 parent7e73b0d commite2ab3ae
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
858 | 858 |
| |
859 | 859 |
| |
860 | 860 |
| |
861 |
| - | |
| 861 | + | |
862 | 862 |
| |
863 | 863 |
| |
864 | 864 |
| |
| |||
873 | 873 |
| |
874 | 874 |
| |
875 | 875 |
| |
876 |
| - | |
| 876 | + | |
877 | 877 |
| |
878 | 878 |
| |
879 | 879 |
| |
|
0 commit comments
Comments
(0)