From 3a15729505e236a5991e84876f875d33249a7a08 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Thu, 23 Jan 2020 11:36:14 -0500
Subject: [PATCH] remove slave record

---
 src/js/removeActiveSlave.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/js/removeActiveSlave.js b/src/js/removeActiveSlave.js
index e5ce66906de..1d34fc8386a 100644
--- a/src/js/removeActiveSlave.js
+++ b/src/js/removeActiveSlave.js
@@ -229,6 +229,10 @@ window.removeActiveSlave = function removeActiveSlave() {
 			V.missingParentID--;
 		}
 
+		if (V.assignmentRecords[AS_ID]) {
+			delete V.assignmentRecords[AS_ID];
+		}
+
 		removeSlave(INDEX);
 		LENGTH--;
 		V.activeSlave = 0;
-- 
GitLab