1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-24 08:09:08 -05:00

fix(ext/net): Remove unstable check from op_node_unstable_net_listen_udp (#17207)

The whole point of creating this alternative operation was to allow
usage in node, without `--unstable` flag.
Introduced and I believe missed in
https://github.com/denoland/deno/pull/16520/
This commit is contained in:
Kamil Ogórek 2022-12-28 11:42:04 +01:00 committed by Bartek Iwańczuk
parent 2b15b07753
commit 5c9e7662d7
No known key found for this signature in database
GPG key ID: 0C6BCDDC3B3AD750

View file

@ -366,7 +366,6 @@ fn op_node_unstable_net_listen_udp<NP>(
where
NP: NetPermissions + 'static,
{
super::check_unstable(state, "Deno.listenDatagram");
net_listen_udp::<NP>(state, addr, reuse_address)
}