From fccd89dcf6c4a8528f2aa80ca9ac2788a425e569 Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Thu, 21 Jan 2021 21:41:51 -0500 Subject: [PATCH] bc fix --- src/data/backwardsCompatibility/datatypeCleanup.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/data/backwardsCompatibility/datatypeCleanup.js b/src/data/backwardsCompatibility/datatypeCleanup.js index f9c1bda3a95..28eccd8f990 100644 --- a/src/data/backwardsCompatibility/datatypeCleanup.js +++ b/src/data/backwardsCompatibility/datatypeCleanup.js @@ -1179,6 +1179,11 @@ globalThis.SlaveDatatypeCleanup = (function SlaveDatatypeCleanup() { if (typeof slave.partners !== "object") { slave.partners = new Set(); } + for (const partner of slave.partners) { + if (typeof partner !== "number") { + slave.partners.delete(partner); + } + } } })(); -- GitLab