xowf::Package instproc destroy (public)

 <instance of xowf::Package[i]> destroy

Defined in packages/xowf/tcl/xowf-procs.tcl

remove mixin

Partial Call Graph (max 5 caller/called nodes):
%3 test_create_test_items create_test_items (test xowf) xowf::Package instproc destroy xowf::Package instproc destroy test_create_test_items->xowf::Package instproc destroy test_create_workflow_with_instance create_workflow_with_instance (test xowf) test_create_workflow_with_instance->xowf::Package instproc destroy

Testcases:
create_test_items, create_workflow_with_instance
Source code:
#
# In general, it is possible, that multiple xowf packages are
# concurrently active in one thread. We want to remove the mixin
# only, when the last instance is deleted.
#
if {[llength [[self class] allinstances]] == 1} {
  ::xowiki::FormPage instmixin delete ::xowf::WorkflowPage
}
next
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: