Add docs to torch_neural_net.__del__
This commit is contained in:
parent
0b6b22313e
commit
6343e40441
|
@ -69,6 +69,10 @@ class TorchNeuralNet:
|
|||
atexit.register(exitHandler)
|
||||
|
||||
def __del__(self):
|
||||
"""__del__(self)
|
||||
|
||||
Kill the Lua subprocess.
|
||||
"""
|
||||
if self.p.poll() is None:
|
||||
self.p.kill()
|
||||
|
||||
|
|
Loading…
Reference in New Issue