ZX fails when a package fetch is a local_request

Conditions:

  1. Run a program with ZX (starts a node that becomes the host's prime zx_daemon)
  2. In a separate ZX instance run a program that requires a package fetch be performed by the prime zx_daemon
  3. The new ZX instance will fail when trying to pass the {ok, Serial} response tag from zx_daemon to zx:done/1 prematurely.
{"init terminating in do_boot",{function_clause,[{zx,done,[{ok,5}],[{file,"src/zx.erl"},{line,315}]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot ({function_clause,[{zx,done,[{_}],[{_},{_}]},{init,start_em,1,[]},{init,do_boot,3,[]}]})```[erl_crash.dump](/uploads/b3807e78e100a8831b2eb22d1666a275/erl_crash.dump)
Edited by Craig Everett