Commit 04d32126 authored by rinpatch's avatar rinpatch

fix C-Node not being respawned after being killed

parent 01707189
Pipeline #22770 passed with stage
in 1 minute and 49 seconds
......@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [1.0.3] - 2020-02-10
### Fixed
- C-Node not respawning after being killed.
## [1.0.2] - 2020-02-10
### Fixed
- Incorrect behavior when parsing empty attribute values. Instead of an empty string the attribute name was returned.
......
......@@ -57,6 +57,7 @@ defmodule FastHtml.Cnode do
defp connect_cnode(%{addr: addr} = state) do
if Node.connect(addr) do
Logger.debug("connected to #{addr}")
Node.monitor(addr, true)
{:ok, state}
else
Logger.debug("connecting to #{addr} failed")
......
......@@ -4,7 +4,7 @@ defmodule FastHtml.Mixfile do
def project do
[
app: :fast_html,
version: "1.0.2",
version: "1.0.3",
elixir: "~> 1.5",
deps: deps(),
package: package(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment