File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## v0.33.1 - 2024-12-07
4+
5+ - Fixed a bug where ` process.demonitor_process ` would return the incorrect
6+ value.
7+
38## v0.33.0 - 2024-12-05
49
510- The ` gleam/erlang/process ` module gains the ` receive_forever ` function.
Original file line number Diff line number Diff line change 11name = " gleam_erlang"
22
3- version = " 0.33.0 "
3+ version = " 0.33.1 "
44licences = [" Apache-2.0" ]
55description = " A Gleam library for working with Erlang"
66
Original file line number Diff line number Diff line change @@ -551,8 +551,13 @@ pub fn selecting_process_down(
551551/// If the message has already been sent it is removed from the monitoring
552552/// process' mailbox.
553553///
554+ pub fn demonitor_process ( monitor monitor : ProcessMonitor ) -> Nil {
555+ erlang_demonitor_process ( monitor )
556+ Nil
557+ }
558+
554559@ external ( erlang , "gleam_erlang_ffi" , "demonitor" )
555- pub fn demonitor_process ( monitor monitor : ProcessMonitor ) -> Nil
560+ fn erlang_demonitor_process ( monitor : ProcessMonitor ) -> DoNotLeak
556561
557562/// An error returned when making a call to a process.
558563///
You can’t perform that action at this time.
0 commit comments