mirror of
https://github.com/vlang/v.git
synced 2025-09-16 16:02:29 +03:00
checker: turn the pointer map notice into a warning and fix all code using it
This commit is contained in:
parent
e8108f21e0
commit
aba7bcde85
5 changed files with 19 additions and 14 deletions
|
@ -38,7 +38,7 @@ fn start_server() ! {
|
|||
slog('s.on_message_ref')
|
||||
// for _, cli in m.clients {
|
||||
for i, _ in m.clients {
|
||||
mut c := m.clients[i]
|
||||
mut c := m.clients[i] or { continue }
|
||||
if c.client.state == .open && c.client.id != ws.id {
|
||||
c.client.write(msg.payload, websocket.OPCode.text_frame) or { panic(err) }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue