| 960 | } |
| 961 | |
| 962 | void ModularSynth::Exit() |
| 963 | { |
| 964 | mAudioThreadMutex.Lock("exiting"); |
| 965 | mAudioPaused = true; |
| 966 | mAudioThreadMutex.Unlock(); |
| 967 | mModuleContainer.Exit(); |
| 968 | DeleteAllModules(); |
| 969 | ofExit(); |
| 970 | } |
| 971 | |
| 972 | void ModularSynth::Focus() |
| 973 | { |