Commit graph

24 commits

Author SHA1 Message Date
giongto35
fdc83e12fb Quit room 2019-05-18 02:50:25 +08:00
giongto35
ea020bd7ae
Merge pull request #28 from giongto35/fix-closed-channel-bug
Fix closed channel bug
2019-05-16 02:50:24 +08:00
giongto35
107f0b725b Add comments 2019-05-16 02:47:35 +08:00
giongto35
8d9ee6f162 Set IsRunning = false early 2019-05-16 02:20:11 +08:00
giongto35
1028e87149 Detach room from handler 2019-05-16 02:00:23 +08:00
giongto35
9ea0bf223c Check peerconnection is in room before detach and reconn 2019-05-16 01:04:54 +08:00
giongto35
6e0289da04 Allocation inplace 2019-05-15 02:52:00 +08:00
giongto35
c75efdc559 Update close encoder channel 2019-05-14 03:03:51 +08:00
giongto35
58b49131b2 Remove unncessary 2019-05-12 18:15:04 +08:00
giongto35
2a782100a0 client closes peerconnection 2019-05-11 19:46:24 +08:00
giongto35
8c4f6f624e lock free input channel 2019-05-11 03:15:50 +08:00
giongto35
73188e71db Remove lock 2019-05-11 01:49:01 +08:00
giongto35
2a9448113e add recover for inputchannel 2019-05-10 01:51:39 +08:00
giongto35
5230cadc4f Polling input channel together with done 2019-05-10 01:04:50 +08:00
giongto35
31ec2d6e4c guard input channel 2019-05-09 01:56:07 +08:00
giongto35
4baff5dce6 Close Leaked goroutine 2019-05-08 23:59:47 +08:00
giongto35
557ebbbb8f Free up resource after room is closed 2019-05-07 02:26:52 +08:00
giongto35
fd7a847df6 Remove hash 2019-05-05 23:46:40 +08:00
giongto35
696692d8f8 Load game from GCP 2019-05-05 23:19:47 +08:00
giongto35
ffcdff7ab3 Update comments 2019-05-04 17:52:46 +08:00
giongto35
417a1fe2ab Save load from cloud 2019-05-04 17:33:53 +08:00
giongto35
a85c30ab2f Save game load game to cloud 2019-05-04 04:03:08 +08:00
giongto35
df8d9c73f1 Remove session after rejoin few times 2019-05-04 01:52:05 +08:00
giongto35
be2cfdcf68 Separate room logic 2019-05-03 02:22:01 +08:00