Lynten / stanford-corenlp

Python wrapper for Stanford CoreNLP.
MIT License
919 stars 200 forks source link

Attempt cleanup when reference count goes to zero #74

Open uniq10 opened 5 years ago

uniq10 commented 5 years ago

Attempt to cleanup the StanfordCoreNLP object when it is no longer referenced.

There is no guarantee that del will be called every time the object reference counts goes to zero, but it's still nice to have.