Skip to content
Snippets Groups Projects
Commit 7032f5cb authored by Eugine Blikh's avatar Eugine Blikh
Browse files

Stop server when something unexpected happens

parent c3bbbfa7
No related branches found
No related tags found
No related merge requests found
...@@ -140,6 +140,9 @@ class TarantoolServer(Server): ...@@ -140,6 +140,9 @@ class TarantoolServer(Server):
self.gdb = False self.gdb = False
self.valgrind = False self.valgrind = False
def __del__(self):
self.stop()
def find_exe(self, builddir, silent=True): def find_exe(self, builddir, silent=True):
"Locate server executable in the build dir or in the PATH." "Locate server executable in the build dir or in the PATH."
self.builddir = builddir self.builddir = builddir
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment