f658d6278f6d4c686f79dd8fbf8c5895380a91ed
braney
  Mon Sep 8 16:48:39 2025 -0700
ongoing fixes to quickLift

diff --git src/hg/lib/cart.c src/hg/lib/cart.c
index 4c1e11f227e..3a2abf25bde 100644
--- src/hg/lib/cart.c
+++ src/hg/lib/cart.c
@@ -1384,30 +1384,33 @@
 	cartExclude(cart, ex);
     }
 return cart;
 }
 
 static void doDisconnectHub(struct cart *cart)
 {
 char *id = cartOptionalString(cart, "hubId");
 
 if (id != NULL)
     {
     char buffer[1024];
     safef(buffer, sizeof buffer, "hgHubConnect.hub.%s", id);
     cartRemove(cart, buffer);
 
+    safef(buffer, sizeof buffer, "quickLift.%s", id);
+    cartRemovePrefix(cart, buffer);
+
     // now we need to remove any custom tracks that are on this hub
     safef(buffer, sizeof buffer, "ctfile_hub_%s", id);
     cartRemovePrefix(cart, buffer);
     }
 
 cartRemove(cart, "hubId");
 cartRemove(cart, hgHubDoDisconnect);
 }
 
 static void hideIfNotInCart(struct cart *cart, char *track)
 /* If this track is not mentioned in the cart, set it to hide */
 {
 if (cartOptionalString(cart, track) == NULL)
     cartSetString(cart, track, "hide");
 }