VOL-5439: Rw core crash fix in device delete
Change-Id: Ia0e6204c509b8749db1a110e1791046599a8b9bb
Signed-off-by: balaji6299 <balaji.nagarajan@radisys.com>
diff --git a/VERSION b/VERSION
index c47e8b5..e8b6c77 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-3.6.10
+3.6.11
diff --git a/rw_core/core/device/agent.go b/rw_core/core/device/agent.go
index e6292a2..49f2b72 100755
--- a/rw_core/core/device/agent.go
+++ b/rw_core/core/device/agent.go
@@ -765,7 +765,6 @@
"device-type": agent.deviceType,
"adapter-endpoint": device.AdapterEndpoint,
})
- agent.requestQueue.RequestComplete()
return err
}
subCtx, cancel := context.WithTimeout(coreutils.WithAllMetadataFromContext(ctx), agent.rpcTimeout)
@@ -777,6 +776,7 @@
}
cancel()
}
+
return err
}