Method: Qt::Application#exec
- Defined in:
- lib/Qt/qtruby4.rb
#exec ⇒ Object
Delete the underlying C++ instance after exec returns Otherwise, rb_gc_call_finalizer_at_exit() can delete stuff that Qt::Application still needs for its cleanup.
478 479 480 481 482 483 484 |
# File 'lib/Qt/qtruby4.rb', line 478 def exec result = method_missing(:exec) disable_threading() self.dispose Qt::Internal.application_terminated = true result end |