changeset 1769:9d9683e76496

bug fix
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 11 Jun 2023 19:17:26 -0600
parents ad53577872cc
children 6c01d54edcac
files src/goodjava/webserver/handlers/DomainHandler.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/goodjava/webserver/handlers/DomainHandler.java	Wed Jun 07 09:26:10 2023 -0600
+++ b/src/goodjava/webserver/handlers/DomainHandler.java	Sun Jun 11 19:17:26 2023 -0600
@@ -88,8 +88,8 @@
 			Handler handler = map.remove(domain);
 			if( handler != null ) {
 				close(handler);
+				dontGc.remove(handler);
 			}
-			dontGc.remove(handler);
 		}
 	}