Description
from nicegui import ui
ui.label('page with custom title')
ui.run(title='My App', native=True)
print("Done!")
When running, I get this output while the native app is open (not on a browser):

Then, after pressing the close button on the app, the console still looks the same as above, and python is still running.
I expect the print("Done!") to not execute until after the app is closed, and then I expect python to halt execution, but it doesn't. Can someone please point me to how python ends on exit of native app? Thanks in advance.
I am running python 3.11.6 and nicegui 2.5.0.
Description
When running, I get this output while the native app is open (not on a browser):

Then, after pressing the close button on the app, the console still looks the same as above, and python is still running.
I expect the print("Done!") to not execute until after the app is closed, and then I expect python to halt execution, but it doesn't. Can someone please point me to how python ends on exit of native app? Thanks in advance.
I am running python 3.11.6 and nicegui 2.5.0.