Make sure connection is added to m.protoConn and m.rawConn before it's Start()ed (fixes #2034)

This commit is contained in:
Jakob Borg
2015-07-10 16:37:57 +10:00
parent 5bb8ea7449
commit 0c28216ee5
6 changed files with 27 additions and 3 deletions

View File

@@ -242,6 +242,9 @@ func (FakeConnection) Close() error {
return nil
}
func (f FakeConnection) Start() {
}
func (f FakeConnection) ID() protocol.DeviceID {
return f.id
}