Philipp Hörist pushed to branch master at gajim / gajim
Commits:
-
197bcf47
by lovetox at 2022-01-12T22:28:00+01:00
1 changed file:
Changes:
| ... | ... | @@ -18,6 +18,7 @@ |
| 18 | 18 |
from typing import Type
|
| 19 | 19 |
from typing import TextIO
|
| 20 | 20 |
|
| 21 |
+import os
|
|
| 21 | 22 |
import sys
|
| 22 | 23 |
|
| 23 | 24 |
from gajim.common import app
|
| ... | ... | @@ -92,6 +93,7 @@ def _quit_app(self) -> None: |
| 92 | 93 |
def _show_warnings() -> None:
|
| 93 | 94 |
import traceback
|
| 94 | 95 |
import warnings
|
| 96 |
+ os.environ['GAJIM_LEAK'] = 'true'
|
|
| 95 | 97 |
|
| 96 | 98 |
def warn_with_traceback(message: Union[Warning, str],
|
| 97 | 99 |
category: Type[Warning],
|