Ignore:
Timestamp:
11/06/12 19:46:59 (18 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fixed a possible segfault on exit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/main.py

    r11173 r11174  
    66import os 
    77import sys 
     8import gc 
    89import re 
    910import logging 
     
    229230    app.flush() 
    230231    del canvas_window 
     232 
     233    # Collect any cycles before deleting the QApplication instance 
     234    gc.collect() 
     235 
    231236    del app 
    232237    return status 
Note: See TracChangeset for help on using the changeset viewer.