K2InformaticsGmbH / erloci

Erlang Oracle native driver - DEPRECATED, see https://github.com/K2InformaticsGmbH/oranif instead
Apache License 2.0
37 stars 11 forks source link

Closing oci_port should be done only in terminate #34

Closed shamis closed 7 years ago

shamis commented 7 years ago

Duplicate implementation of terminate found in close have to be removed.

Close the port by deleting the child from supervisor which would in turn result in the terminate call (with trap_exit set to true).