mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
It seems like shared_from_this may not be enabled when a unique_ptr is assigned to a shared_ptr (although it *should* be enabled when constructing a new shared_ptr from a unique_ptr). Functions that return objects that may need to use shared_from_this now return shared_ptr, just to be safe. Additionally, in some cases, shared_from_this was being called from Thread::run after the last reference to the shared object had been released. We now call shared_from_this during 'open', which will always run on the message thread while at least once reference to the shared object is alive. |
||
|---|---|---|
| .. | ||
| juce_ContentSharer.cpp | ||
| juce_ContentSharer.h | ||
| juce_DirectoryContentsDisplayComponent.cpp | ||
| juce_DirectoryContentsDisplayComponent.h | ||
| juce_DirectoryContentsList.cpp | ||
| juce_DirectoryContentsList.h | ||
| juce_FileBrowserComponent.cpp | ||
| juce_FileBrowserComponent.h | ||
| juce_FileBrowserListener.h | ||
| juce_FileChooser.cpp | ||
| juce_FileChooser.h | ||
| juce_FileChooserDialogBox.cpp | ||
| juce_FileChooserDialogBox.h | ||
| juce_FileListComponent.cpp | ||
| juce_FileListComponent.h | ||
| juce_FilenameComponent.cpp | ||
| juce_FilenameComponent.h | ||
| juce_FilePreviewComponent.h | ||
| juce_FileSearchPathListComponent.cpp | ||
| juce_FileSearchPathListComponent.h | ||
| juce_FileTreeComponent.cpp | ||
| juce_FileTreeComponent.h | ||
| juce_ImagePreviewComponent.cpp | ||
| juce_ImagePreviewComponent.h | ||