lots of cleanup
This commit is contained in:
parent
6babb4e73a
commit
94f4ef5601
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue