mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-25 02:57:24 +00:00
Close session
This commit is contained in:
parent
263c7c7da6
commit
63b129a8cf
1 changed files with 5 additions and 0 deletions
|
|
@ -13,3 +13,8 @@ type Session struct {
|
|||
// Should I make direct reference
|
||||
RoomID string
|
||||
}
|
||||
|
||||
// Close close a session
|
||||
func (s *Session) Close() {
|
||||
s.peerconnection.StopClient()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue