From 6b7b52bb5e15c712b10d4b7423b60c64cb15dc7f Mon Sep 17 00:00:00 2001
From: Nicola Vigano <nicola.vigano@esrf.fr>
Date: Tue, 10 Feb 2015 20:06:06 +0100
Subject: [PATCH] GtLockDB: fixed a few issues where the connection to the db
 was not instantiated yet

Signed-off-by: Nicola Vigano <nicola.vigano@esrf.fr>
---
 zUtil_DataStructures/GtLockDB.m | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/zUtil_DataStructures/GtLockDB.m b/zUtil_DataStructures/GtLockDB.m
index d59b34a4..35b9bd6f 100644
--- a/zUtil_DataStructures/GtLockDB.m
+++ b/zUtil_DataStructures/GtLockDB.m
@@ -21,6 +21,8 @@ classdef GtLockDB < handle
             obj.filename  = filename;
             obj.filetable = filetable;
             obj.hasLock   = false;
+
+            gtDBConnect();
         end
 
         function acquire(obj, timeout)
-- 
GitLab