|
@@ -237,13 +237,14 @@ def content() -> None:
|
|
|
ui.markdown('''
|
|
|
**Common pitfalls on Mac M1**
|
|
|
|
|
|
- - If new processes are spawned in an endless loop, try adding the following lines at the beginning of your execution code:
|
|
|
- ```python
|
|
|
+ - If new processes are spawned in an endless loop, try adding the following lines at the beginning of your code:
|
|
|
+
|
|
|
+ ```python
|
|
|
from multiprocessing import freeze_support
|
|
|
freeze_support()
|
|
|
- ```
|
|
|
+ ```
|
|
|
|
|
|
- - If processes are left behind after closing the app, try packaging the app without the --windowed argument.
|
|
|
+ - If processes are left behind after closing the app, try packaging the app without the `--windowed` argument.
|
|
|
''')
|
|
|
|
|
|
subheading('NiceGUI On Air')
|