lots of cleanup

This commit is contained in:
Mike Griese 2021-10-26 09:09:05 -05:00
parent 6babb4e73a
commit 94f4ef5601

View file

@ -60,6 +60,8 @@ namespace winrt::Microsoft::Terminal::Control::implementation
void ApplyAppearance(const bool& focused);
Control::IControlSettings Settings()
{
// TODO! This prevents a crash when sliding the opacity slider
// quickly, but it feels stupid.
auto l = std::unique_lock<til::ticket_lock>{ _settingsLock };
return *_settings;
};