mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This reverts commit 093b2fea8ac09fb1e9e0d712dbdecc0a09f2c1ad. For https://github.com/flutter/flutter/issues/24058, We now only get a "Program linking failed" error message on Windows Android simulators without crahsing. Skia seems to have handled the linking failure in https://skia-review.googlesource.com/c/skia/+/180372 by rebuilding the program.
This commit is contained in:
parent
2c25936ecd
commit
2f87713d40
@ -40,8 +40,16 @@ PersistentCache* PersistentCache::GetCacheForProcess() {
|
||||
return gPersistentCache.get();
|
||||
}
|
||||
|
||||
PersistentCache::PersistentCache() {
|
||||
// TODO(chinmaygarde): Reenable caching, avoiding the windows crasher.
|
||||
PersistentCache::PersistentCache()
|
||||
: cache_directory_(std::make_shared<fml::UniqueFD>(
|
||||
CreateDirectory(fml::paths::GetCachesDirectory(),
|
||||
{
|
||||
"flutter_engine", //
|
||||
blink::GetFlutterEngineVersion(), //
|
||||
"skia", //
|
||||
blink::GetSkiaVersion() //
|
||||
},
|
||||
fml::FilePermission::kReadWrite))) {
|
||||
if (!IsValid()) {
|
||||
FML_LOG(WARNING) << "Could not acquire the persistent cache directory. "
|
||||
"Caching of GPU resources on disk is disabled.";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user