exellian / rui

Rust framework for building modern ui
3 stars 0 forks source link

How to quit when the last surface is gone #48

Open aberratic opened 2 years ago

aberratic commented 2 years ago

Actually I'm not quite certain on how to quit the program when the last window / surface is gone.

@exellian Did I miss smth or should we implement smth?

exellian commented 2 years ago

This must be done in the instance loop. When the last surface was closed then the instance loop must set its flow to ExitFlow