We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d593a5 commit 885a4f8Copy full SHA for 885a4f8
lib/elixir_osc/events.ex
@@ -2,7 +2,7 @@ defmodule ElixirOsc.Events do
2
3
def start_link(), do: start_link([])
4
def start_link(_args) do
5
- :gen_event.start_link({:local, :osc_events})
+ {:ok, _pid} = :gen_event.start_link({:local, :osc_events})
6
{:ok, []}
7
end
8
lib/elixir_osc/supervisor.ex
@@ -15,7 +15,7 @@ defmodule ElixirOsc.Supervisor do
15
worker(ElixirOsc.Sender, args),
16
]
17
18
- ElixirOsc.Events.start_link
+ {:ok, _arg} = ElixirOsc.Events.start_link
19
20
# See http://elixir-lang.org/docs/stable/Supervisor.Behaviour.html
21
# for other strategies and supported options
0 commit comments