refactor: remove superfluous var
conn.shutdown was only set/accessed in handleShutdown, which in turn is only called on termination of queryLoop and hence multiple invocations are impossible.
This commit is contained in:
1 parent
aed95326f3
commit
1e4d7e4462
2 files changed
-5
No files matched your search
@@ -60,7 +60,6 @@ type LocalConnection struct {
|
||||
Decryptor Decryptor
|
||||
Router *Router
|
||||
UID uint64
|
||||
shutdown bool
|
||||
queryChan chan<- *ConnectionInteraction
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user