Merge pull request #227 from mattn/fix-shadowing-running
Fix shadowing field runnnig
This commit is contained in:
commit
4fde0175cf
1 changed files with 0 additions and 2 deletions
|
|
@ -18,7 +18,6 @@ type MaixCamChannel struct {
|
||||||
listener net.Listener
|
listener net.Listener
|
||||||
clients map[net.Conn]bool
|
clients map[net.Conn]bool
|
||||||
clientsMux sync.RWMutex
|
clientsMux sync.RWMutex
|
||||||
running bool
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type MaixCamMessage struct {
|
type MaixCamMessage struct {
|
||||||
|
|
@ -35,7 +34,6 @@ func NewMaixCamChannel(cfg config.MaixCamConfig, bus *bus.MessageBus) (*MaixCamC
|
||||||
BaseChannel: base,
|
BaseChannel: base,
|
||||||
config: cfg,
|
config: cfg,
|
||||||
clients: make(map[net.Conn]bool),
|
clients: make(map[net.Conn]bool),
|
||||||
running: false,
|
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue