updates asyncPlatformFlush to flush
Merge pull request #27 from che-effe/patch-2

updates asyncPlatformFlush to flush