aconstlink / motor

Software Framework for Audio/Visual/Interactive Real-Time Applications
MIT License
1 stars 0 forks source link

Create window must return a unique ptr #27

Closed aconstlink closed 5 months ago

aconstlink commented 6 months ago

create_window in carrier needs to return a unique_ptr and up the ref count before returning it. This is required if the window is created in a separate thread and the carrier dies before the thread is able to copy the ptr.