[tipc] Rework how IPC chan handles gets destroyed

Stop registering shutdown callback for ports and channels.
Instead invoke corresponding shutdown code when last
reference to handle goes away. This way, handle_close is
effectively just decrements handle ref. Stop using handle_close
in favor of handle_decref where appropriate.

Change-Id: I8dff9182bc886f1187cb43c8320ae2c5400eeaee
3 files changed
tree: b4a84a4932346add89ad1791bf8dadfbd5f9bcc0
  1. app/
  2. include/
  3. lib/
  4. make/
  5. platform/
  6. target/
  7. AUTHORS
  8. LICENSE