mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 12:09:40 +00:00
Import CefTaskScheduler from @JanEggers TaskPattern branch
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
// Copyright © 2010-2013 The CefSharp Project. All rights reserved.
|
||||
//
|
||||
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
||||
|
||||
#include "Stdafx.h"
|
||||
#include "CefTaskScheduler.h"
|
||||
|
||||
namespace CefSharp
|
||||
{
|
||||
void CefTaskWrapper::Execute()
|
||||
{
|
||||
try
|
||||
{
|
||||
_scheduler->ExecuteTask(this);
|
||||
}
|
||||
catch (Exception^)
|
||||
{
|
||||
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user