Add soft shutdown by amos402 · Pull Request #958 · pythonnet/pythonnet

and others added 7 commits

June 14, 2019 02:35
* Keep delegate of Thunk in tp_dict
* Remove useless code

@amos402

* Fix ref error at PythoneEngine.With

@amos402

@amos402

@amos402

…nObject) will not care 'u' on Python2.
…hutdown forcedly

* Disable restore objects on default

@amos402

lostmsu

benoithudson

@amos402

* Drop C module dependency when getting _PyObject_NextNotImplemented
* Exception details for SetNoSiteFlag

filmor pushed a commit that referenced this pull request

Dec 2, 2019
* Add exception helper
* Fixed refcnt error in ExtensionType.FinalizeObject
* Fixed typename leaking
* Fix refcnt error by using `using`

@amos402

@amos402

@amos402 @BadSingleton

@amos402 @BadSingleton

…mments-2

Soft shutdown review comments 2

lostmsu

And other code review changes
Even if netstandard lacks (for now) the necessary APIs for domain
(un)loading, it is still possible to (un)load domains via the Mono C
runtime.

@BadSingleton

…e pointer"

We Don't support python 2 anymore, but the CI machines may still be
using it to build.
Also adds implicit IntPtr conversion operators to simplify their use.

@BadSingleton

@BadSingleton

@BadSingleton

…mments-3

* Remove compile-time check on NETSTANDARD
* Extract method `ClearCLRData`

@amos402

@amos402

@amos402

* Fix dead lock occur by calling PyEval_RestoreThread without check
* Ignore `CollectOnShutdown` temporarily

@amos402

@amos402

lostmsu

@Zulex Zulex mentioned this pull request

Mar 4, 2022