mirror of
https://github.com/electron/electron.git
synced 2026-01-09 23:48:01 -05:00
chore: ShowItemInFolder should use COMSTA (#22614)
This commit is contained in:
@@ -318,7 +318,7 @@ std::string OpenPathOnThread(const base::FilePath& full_path) {
|
||||
namespace platform_util {
|
||||
|
||||
void ShowItemInFolder(const base::FilePath& full_path) {
|
||||
base::ThreadPool::CreateSingleThreadTaskRunner(
|
||||
base::ThreadPool::CreateCOMSTATaskRunner(
|
||||
{base::MayBlock(), base::TaskPriority::USER_BLOCKING})
|
||||
->PostTask(FROM_HERE,
|
||||
base::BindOnce(&ShowItemInFolderOnWorkerThread, full_path));
|
||||
|
||||
Reference in New Issue
Block a user