You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Am I missing something here?
If not, I suggest to add a check in (*Transport.)close before trying to close the t.handlerMap.
Edit: Similarly (*Transport.)Close assumes t.conn and t.listening to be initialized which is not always the case (again referring to the example code above).
The text was updated successfully, but these errors were encountered:
Hi,
I noticed that in some cases,
(*Transport.)close
causes a nil pointer dereference due to(Transport.)handlerMap
being uninitialized.Minimal example to reproduce when using DialEarly:
I get the following output:
Am I missing something here?
If not, I suggest to add a check in
(*Transport.)close
before trying to close thet.handlerMap
.Edit: Similarly
(*Transport.)Close
assumest.conn
andt.listening
to be initialized which is not always the case (again referring to the example code above).The text was updated successfully, but these errors were encountered: