Tyler Schade created CASSGO-74: ---------------------------------- Summary: Calling Close() on a nil session panics Key: CASSGO-74 URL: https://issues.apache.org/jira/browse/CASSGO-74 Project: Apache Cassandra Go driver Issue Type: Bug Reporter: Tyler Schade
The {{Session}} type does not guard against method calls on a nil pointer, which is understandable in most cases. However, the {{Close}} method doesn't have any work to do if the `Session` is nil, and could be easily guarded against panicking. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org