nsmcp::BoundedLogScanner method destroy (public)

 <instance of nsmcp::BoundedLogScanner[i]> destroy

Defined in /usr/local/ns/tcl/nsmcp/log-01-scanner.tcl

Release the scanner's private temporary channel and file. Close and remove temporary resources when present, then continue NX destruction.

Returns:
The superclass destruction result.

Testcases:
No testcase defined.
Source code:
if {[info exists :temporaryChannel] && ${:temporaryChannel} ne ""} {
    catch {
        close ${:temporaryChannel}
    }
}
if {[info exists :temporaryPath] && ${:temporaryPath} ne ""} {
    catch {
        file delete -- ${:temporaryPath}
    }
}
next
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: