c10e37f2d6
Fixed a crash by keeping a reference to the buffer instance after creating it and checking for null
Fixed a crash by keeping a reference to the buffer instance after creating it and checking for null