| 2784 | } |
| 2785 | |
| 2786 | CSharpScript::CSharpScript() { |
| 2787 | _clear(); |
| 2788 | |
| 2789 | #ifdef DEBUG_ENABLED |
| 2790 | { |
| 2791 | MutexLock lock(CSharpLanguage::get_singleton()->script_instances_mutex); |
| 2792 | CSharpLanguage::get_singleton()->script_list.add(&script_list); |
| 2793 | } |
| 2794 | #endif // DEBUG_ENABLED |
| 2795 | } |
| 2796 | |
| 2797 | CSharpScript::~CSharpScript() { |
| 2798 | #ifdef DEBUG_ENABLED |