Subscribe /jsonio socket for situation updates.

pull/516/head
Christopher Young 2016-10-24 16:05:30 -04:00
rodzic f5ebf4c43d
commit 386be11b8c
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -72,6 +72,7 @@ func handleJsonIo(conn *websocket.Conn) {
// Subscribe the socket to receive updates.
trafficUpdate.AddSocket(conn)
weatherUpdate.AddSocket(conn)
situationUpdate.AddSocket(conn)
trafficMutex.Unlock()